Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp

Issue 2668823002: Invalidate subsequence caching & empty paint phases if clips changed. (Closed)
Patch Set: none Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PrePaintTreeWalk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698