Bug 1139935 - Re-enable RemoveTextureFromCompositableTracker r=nical

This commit is contained in:
Sotaro Ikeda
2015-03-11 06:53:43 -07:00
parent 099c612048
commit a6782ac1fa
4 changed files with 18 additions and 2 deletions

View File

@@ -386,7 +386,6 @@ CanvasClientSharedSurface::Update(gfx::IntSize aSize, ClientCanvasLayer* aLayer)
// Add the new TexClient.
MOZ_ALWAYS_TRUE( AddTextureClient(newTex) );
#ifdef MOZ_WIDGET_GONK
// Remove the old TexClient.
if (mFrontTex) {
// remove old buffer from CompositableHost
@@ -399,7 +398,6 @@ CanvasClientSharedSurface::Update(gfx::IntSize aSize, ClientCanvasLayer* aLayer)
mFrontTex = nullptr;
}
#endif
// Use the new TexClient.
mFrontTex = newTex;