Bug 1098495 - Part 2: Run the layer tree invalidation code on windows. r=mstange ON A CLOSED TREE
--- 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()) {