From 15e050bbb2452a9cbc145bd6bf15c6bb346080c5 Mon Sep 17 00:00:00 2001 From: Jim Mathies Date: Sat, 7 Mar 2015 17:29:05 -0600 Subject: [PATCH] Bug 1138181 - Be more aggressive in updating plugin geometry in the compositor, avoids filtering out important offset updates that don't involve remote layer tree updates. r=roc --- gfx/layers/ipc/CompositorParent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/layers/ipc/CompositorParent.cpp b/gfx/layers/ipc/CompositorParent.cpp index 76d34928cf09..4b656d531b6b 100644 --- a/gfx/layers/ipc/CompositorParent.cpp +++ b/gfx/layers/ipc/CompositorParent.cpp @@ -1818,8 +1818,7 @@ UpdatePluginWindowState(uint64_t aId) } bool shouldComposePlugin = !!lts.mRoot && - !!lts.mRoot->GetParent() && - lts.mUpdatedPluginDataAvailable; + !!lts.mRoot->GetParent(); bool shouldHidePlugin = (!lts.mRoot || !lts.mRoot->GetParent()) && @@ -1832,6 +1831,7 @@ UpdatePluginWindowState(uint64_t aId) // calculating clipping. nsTArray aVisibleIdList; unused << lts.mParent->SendUpdatePluginVisibility(aVisibleIdList); + lts.mUpdatedPluginDataAvailable = false; return; }