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; }