Bug 902929. Assert that we don't have a compositable child for ImageBridgeClients. r=nical

This commit is contained in:
Nicholas Cameron 2013-08-21 13:27:05 +12:00
parent 4f4d777bc8
commit 1caed203b3
2 changed files with 6 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public:
CompositableChild* GetIPDLActor() const;
// should only be called by a CompositableForwarder
void SetIPDLActor(CompositableChild* aChild);
virtual void SetIPDLActor(CompositableChild* aChild);
CompositableForwarder* GetForwarder() const
{

View File

@ -181,6 +181,11 @@ public:
return TextureInfo(mType);
}
virtual void SetIPDLActor(CompositableChild* aChild) MOZ_OVERRIDE
{
MOZ_ASSERT(!aChild, "ImageClientBridge should not have IPDL actor");
}
protected:
uint64_t mAsyncContainerID;
ShadowableLayer* mLayer;