Bug 1321885 - Show the number of OMT animations on a layer in the layer dump. r=kats

MozReview-Commit-ID: KmG0TKEKZRR

--HG--
extra : rebase_source : aed045e00064e90f75bada9e6c397081b63b45d1
extra : source : 3e64e3ab44cdb0087787d2016bd2a3d623cb0c57
This commit is contained in:
Botond Ballo 2016-07-20 14:53:38 -04:00
parent 6aa36c0f99
commit 3161fcc88c

View File

@ -2097,6 +2097,9 @@ Layer::PrintInfo(std::stringstream& aStream, const char* aPrefix)
AppendToString(aStream, mScrollMetadata[i], "", "]");
}
}
if (!mAnimations.IsEmpty()) {
aStream << nsPrintfCString(" [%d animations]", (int) mAnimations.Length()).get();
}
}
// The static helper function sets the transform matrix into the packet