Bug 1098495 - Part 2: Run the layer tree invalidation code on windows. r=mstange ON A CLOSED TREE
authorBenoit Girard <b56girard@gmail.com>
Thu, 20 Nov 2014 15:10:18 -0500
changeset 216701 6309710dd71db42f91877e2736b5f2ed0bce23b5
parent 216700 7b95b87d4085e4454ca146f4e8f3f47b8c4b1389
child 216743 0e1803334122c557b940b674b4c2ff3b856b75d3
child 216797 addcdfa8504dabd39f21b9b41e79d912e2c10f20
push idunknown
push userunknown
push dateunknown
reviewersmstange
bugs1098495
milestone36.0a1
Bug 1098495 - Part 2: Run the layer tree invalidation code on windows. r=mstange ON A CLOSED TREE
gfx/layers/composite/LayerManagerComposite.cpp
--- a/gfx/layers/composite/LayerManagerComposite.cpp
+++ b/gfx/layers/composite/LayerManagerComposite.cpp
@@ -161,20 +161,17 @@ LayerManagerComposite::BeginTransaction(
   mInTransaction = true;
   
   if (!mCompositor->Ready()) {
     return;
   }
   
   mIsCompositorReady = true;
 
-  if (Compositor::GetBackend() == LayersBackend::LAYERS_OPENGL ||
-      Compositor::GetBackend() == LayersBackend::LAYERS_BASIC) {
-    mClonedLayerTreeProperties = LayerProperties::CloneFrom(GetRoot());
-  }
+  mClonedLayerTreeProperties = LayerProperties::CloneFrom(GetRoot());
 }
 
 void
 LayerManagerComposite::BeginTransactionWithDrawTarget(DrawTarget* aTarget, const nsIntRect& aRect)
 {
   mInTransaction = true;
   
   if (!mCompositor->Ready()) {