mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 586683 - ImageContainers can have no manager. r=Bas a=bustage
This commit is contained in:
parent
2a2f92ab3a
commit
2406e613cc
@ -220,7 +220,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
void SetContainer(ImageContainer* aContainer)
|
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");
|
"ImageContainer must have the same manager as the ImageLayer");
|
||||||
mContainer = aContainer;
|
mContainer = aContainer;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user