diff --git a/gfx/layers/Layers.cpp b/gfx/layers/Layers.cpp index e971700280f..96f6776a3d2 100644 --- a/gfx/layers/Layers.cpp +++ b/gfx/layers/Layers.cpp @@ -1047,7 +1047,7 @@ nsACString& RefLayer::PrintInfo(nsACString& aTo, const char* aPrefix) { ContainerLayer::PrintInfo(aTo, aPrefix); - if (-1 != mId) { + if (0 != mId) { AppendToString(aTo, mId, " [id=", "]"); } return aTo;