Fix layer tree dumping code, no bug, r=cjones over irc

This commit is contained in:
David Zbarsky 2012-08-21 00:06:46 -04:00
parent 71db56f8c9
commit 8b80664250

View File

@ -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;