From 32ae4b65c07d2a9bb5b87ef1a29259ccd449d137 Mon Sep 17 00:00:00 2001 From: Sotaro Ikeda Date: Wed, 4 Jun 2014 15:11:00 -0700 Subject: [PATCH] Bug 1016805 - fix AsyncTransactionTracker handling r=nical --- gfx/layers/client/ImageClient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/layers/client/ImageClient.cpp b/gfx/layers/client/ImageClient.cpp index 374fbd19c2dc..c159bb803791 100644 --- a/gfx/layers/client/ImageClient.cpp +++ b/gfx/layers/client/ImageClient.cpp @@ -83,8 +83,8 @@ ImageClient::RemoveTextureWithTracker(TextureClient* aTexture, #ifdef MOZ_WIDGET_GONK // AsyncTransactionTracker is supported only on ImageBridge. // Use AsyncTransactionTracker only when TextureClient is recyeled. - if (GetForwarder()->IsImageBridgeChild() && - aTexture->HasRecycleCallback()) { + if (aAsyncTransactionTracker || + (GetForwarder()->IsImageBridgeChild() && aTexture->HasRecycleCallback())) { RefPtr request = aAsyncTransactionTracker; if (!request) { // Create AsyncTransactionTracker if it is not provided as argument. -- 2.11.4.GIT