Bug 1253688 - Backout bug 1229429 which caused a painting problem with Loops remote browser chat window with e10s enabled. r=billm,a=lizzard
authorJim Mathies <jmathies@mozilla.com>
Fri, 04 Mar 2016 17:56:03 -0600
changeset 317355 3ac92b42152fc8e895fe8e62d1b86471a6966dc3
parent 317354 c3aaa6f957ad50accaf84d5818fbc17627e213cf
child 317356 0ab8ea0c78f0aa6ba5277161e000368ed44f7afe
push id5703
push userraliiev@mozilla.com
push dateMon, 07 Mar 2016 14:18:41 +0000
treeherdermozilla-beta@31e373ad5b5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbillm, lizzard
bugs1253688, 1229429
milestone46.0a2
Bug 1253688 - Backout bug 1229429 which caused a painting problem with Loops remote browser chat window with e10s enabled. r=billm,a=lizzard MozReview-Commit-ID: 3tAgOAmnJli
gfx/layers/ipc/CompositorParent.cpp
--- a/gfx/layers/ipc/CompositorParent.cpp
+++ b/gfx/layers/ipc/CompositorParent.cpp
@@ -2174,25 +2174,18 @@ CompositorParent::UpdatePluginWindowStat
   CompositorParent::LayerTreeState& lts = sIndirectLayerTrees[aId];
   if (!lts.mParent) {
     PLUGINS_LOG("[%" PRIu64 "] layer tree compositor parent pointer is null", aId);
     return false;
   }
 
   // Check if this layer tree has received any shadow layer updates
   if (!lts.mUpdatedPluginDataAvailable) {
-    if (mLastPluginUpdateLayerTreeId != aId) {
-      lts.mUpdatedPluginDataAvailable = true;
-      mPluginsLayerOffset = nsIntPoint(0,0);
-      mPluginsLayerVisibleRegion.SetEmpty();
-      PLUGINS_LOG("[%" PRIu64 "] new layer id, refreshing", aId);
-    } else {
-      PLUGINS_LOG("[%" PRIu64 "] no plugin data", aId);
-      return false;
-    }
+    PLUGINS_LOG("[%" PRIu64 "] no plugin data", aId);
+    return false;
   }
 
   // pluginMetricsChanged tracks whether we need to send plugin update
   // data to the main thread. If we do we'll have to block composition,
   // which we want to avoid if at all possible.
   bool pluginMetricsChanged = false;
 
   // Same layer tree checks