From 036aec2ce9e06ae90660eea04dffd964d298509b Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Tue, 3 Dec 2013 13:44:38 -0500 Subject: [PATCH] Bug 944703 - Part 4: make ContentHost hold a strong reference to its ISurfaceAllocator - r=nical --- gfx/layers/composite/ContentHost.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/layers/composite/ContentHost.h b/gfx/layers/composite/ContentHost.h index 8c7156c49d0d..52e540980701 100644 --- a/gfx/layers/composite/ContentHost.h +++ b/gfx/layers/composite/ContentHost.h @@ -462,7 +462,7 @@ private: nsIntRect GetQuadrantRectangle(XSide aXSide, YSide aYSide) const; - ISurfaceAllocator* mDeAllocator; + RefPtr mDeAllocator; TextureIdentifier mTextureId; SurfaceDescriptor mDescriptor; nsIntRegion mUpdated; @@ -472,7 +472,7 @@ private: nsTArray > mUpdateList; - ISurfaceAllocator* mDeAllocator; + RefPtr mDeAllocator; }; }