Backed out changeset fca0ab2e718d (bug 1121072) for frequent bc3 failures
authorWes Kocher <wkocher@mozilla.com>
Fri, 20 Mar 2015 17:17:48 -0700
changeset 263670 a27defc5a71deb7221e18698e80d9c4b7c5bc1f4
parent 263669 84bbf01b30ba53486c7c460b0571debfc84b4adb
child 263671 9d5cf44338f90cd79c3eb7a2b06d823e8c97f0bd
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1121072
milestone39.0a1
backs outfca0ab2e718dffb228f83b5a92cc2d1375be9b24
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset fca0ab2e718d (bug 1121072) for frequent bc3 failures
gfx/layers/ipc/LayerTransactionParent.cpp
--- a/gfx/layers/ipc/LayerTransactionParent.cpp
+++ b/gfx/layers/ipc/LayerTransactionParent.cpp
@@ -844,18 +844,19 @@ LayerTransactionParent::Attach(ShadowLay
 bool
 LayerTransactionParent::RecvClearCachedResources()
 {
   if (mRoot) {
     // NB: |mRoot| here is the *child* context's root.  In this parent
     // context, it's just a subtree root.  We need to scope the clear
     // of resources to exactly that subtree, so we specify it here.
     mLayerManager->ClearCachedResources(mRoot);
+
+    mShadowLayersManager->NotifyClearCachedResources(this);
   }
-  mShadowLayersManager->NotifyClearCachedResources(this);
   return true;
 }
 
 bool
 LayerTransactionParent::RecvForceComposite()
 {
   mShadowLayersManager->ForceComposite(this);
   return true;