Index: third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp |
index 71ca7ffce91824c526d46d28b7951f5b043bc3f2..9abd6514169a19bc020e86e0832c9e64351634e2 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp |
@@ -226,9 +226,7 @@ static bool shouldRepaintSubsequence( |
needsRepaint = true; |
// Repaint if layer's clip changes. |
- // TODO(chrishtr): implement detecting clipping changes in SPv2. |
- // crbug.com/645667 |
- if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { |
+ if (!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) { |
ClipRects& clipRects = paintLayer.clipper().paintingClipRects( |
paintingInfo.rootLayer, respectOverflowClip, subpixelAccumulation); |
ClipRects* previousClipRects = paintLayer.previousPaintingClipRects(); |