Bug 1234485 - Part XXX. Always active, for testing purpose. draft
authorcku <cku@mozilla.com>
Tue, 18 Oct 2016 20:30:01 +0800
changeset 426557 cadab115d570137eccf5cc4314bc74a7f88e87d2
parent 426556 3d7b935fa0a7626c3fae933dc407a676b09be342
child 426558 6a80837e5ab4cffea3c46fbaaa525a5a9010128a
push id32740
push userbmo:cku@mozilla.com
push dateTue, 18 Oct 2016 18:13:24 +0000
bugs1234485
milestone52.0a1
Bug 1234485 - Part XXX. Always active, for testing purpose. MozReview-Commit-ID: A8wYITVd7N2
layout/base/nsDisplayList.cpp
--- a/layout/base/nsDisplayList.cpp
+++ b/layout/base/nsDisplayList.cpp
@@ -7057,16 +7057,17 @@ nsDisplayMask::ShouldCreateOwnLayer(nsDi
   return ImageLayerization::NO_LAYER_NEEDED;
 }
 
 LayerState
 nsDisplayMask::GetLayerState(nsDisplayListBuilder* aBuilder,
                              LayerManager* aManager,
                              const ContainerLayerParameters& aParameters)
 {
+  return LAYER_ACTIVE;
   ImageLayerization shouldLayerize = ShouldCreateOwnLayer(aBuilder, aManager);
   return (shouldLayerize == ImageLayerization::WHENEVER_POSSIBLE)
          ? LAYER_ACTIVE : LAYER_SVG_EFFECTS;
 }
 
 bool nsDisplayMask::ComputeVisibility(nsDisplayListBuilder* aBuilder,
                                       nsRegion* aVisibleRegion)
 {