Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index 55681d3691f076fcc3d9efc666168a5f22bcb681..0a4b126bcaa956de61d1a4745de8680f8b345948 100644 |
--- a/Source/core/rendering/RenderObject.cpp |
+++ b/Source/core/rendering/RenderObject.cpp |
@@ -1889,8 +1889,6 @@ StyleDifference RenderObject::adjustStyleDifference(StyleDifference diff, unsign |
// hence the !isText() check. |
if (!isText() && (!hasLayer() || !toRenderLayerModelObject(this)->layer()->hasStyleDeterminedDirectCompositingReasons())) |
diff.setNeedsRepaintLayer(); |
- else |
- diff.setNeedsRecompositeLayer(); |
} |
// If opacity or zIndex changed, and the layer does not paint into its own separate backing, then we need to invalidate paints (also |
@@ -1898,8 +1896,6 @@ StyleDifference RenderObject::adjustStyleDifference(StyleDifference diff, unsign |
if (contextSensitiveProperties & (ContextSensitivePropertyOpacity | ContextSensitivePropertyZIndex)) { |
if (!isText() && (!hasLayer() || !toRenderLayerModelObject(this)->layer()->hasStyleDeterminedDirectCompositingReasons())) |
diff.setNeedsRepaintLayer(); |
- else |
- diff.setNeedsRecompositeLayer(); |
} |
// If filter changed, and the layer does not paint into its own separate backing or it paints with filters, then we need to invalidate paints. |
@@ -1907,8 +1903,6 @@ StyleDifference RenderObject::adjustStyleDifference(StyleDifference diff, unsign |
RenderLayer* layer = toRenderLayerModelObject(this)->layer(); |
if (!layer->hasStyleDeterminedDirectCompositingReasons() || layer->paintsWithFilters()) |
diff.setNeedsRepaintLayer(); |
- else |
- diff.setNeedsRecompositeLayer(); |
} |
if ((contextSensitiveProperties & ContextSensitivePropertyTextOrColor) && !diff.needsRepaint() |