From 04a8b9cb6c739bbf5339b34bcb70cd718a9bade5 Mon Sep 17 00:00:00 2001 From: James Willcox Date: Mon, 2 Feb 2015 15:25:22 -0600 Subject: [PATCH] Bug 1123084 - Always deallocate SharedSurface on the client r=jgilbert --- gfx/layers/client/TextureClient.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/layers/client/TextureClient.cpp b/gfx/layers/client/TextureClient.cpp index 65fff190eda..ca09da2e86e 100644 --- a/gfx/layers/client/TextureClient.cpp +++ b/gfx/layers/client/TextureClient.cpp @@ -908,6 +908,7 @@ SharedSurfaceTextureClient::SharedSurfaceTextureClient(ISurfaceAllocator* aAlloc , mSurf(surf) , mGL(mSurf->mGL) { + AddFlags(TextureFlags::DEALLOCATE_CLIENT); } SharedSurfaceTextureClient::~SharedSurfaceTextureClient()