b=574481; fix layers lifetime issues; part 1 - add API; r=roc

This commit is contained in:
Vladimir Vukicevic
2010-08-06 22:09:17 -07:00
parent 6413c5473f
commit ed161c1754
2 changed files with 22 additions and 2 deletions

View File

@@ -172,6 +172,13 @@ public:
*/
virtual gfxIntSize GetCurrentSize() = 0;
/**
* Set a new layer manager for this image container. It must be
* either of the same type as the container's current layer manager,
* or null. TRUE is returned on success.
*/
virtual PRBool SetLayerManager(LayerManager *aManager) = 0;
protected:
LayerManager* mManager;