Bug 586683 - ImageContainers can have no manager. r=Bas a=bustage

This commit is contained in:
Matt Woodrow
2011-01-18 12:00:43 +13:00
parent 552bfdea2b
commit 5205ec00ca

View File

@@ -220,7 +220,7 @@ public:
*/
void SetContainer(ImageContainer* aContainer)
{
NS_ASSERTION(aContainer->Manager() == Manager(),
NS_ASSERTION(!aContainer->Manager() || aContainer->Manager() == Manager(),
"ImageContainer must have the same manager as the ImageLayer");
mContainer = aContainer;
}