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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp

Issue 2671853003: [SPInvalidation] Use GeometryMapper in PaintLayerClipper for paint. (Closed)
Patch Set: Merge branch 'master' into paintlayerclipper 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
Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
index 6e0af77be711c732ccfbef5689008252da36c5c1..e08ea01a99806b7808a912c9be73d95e56440e00 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
@@ -568,8 +568,10 @@ bool PaintLayerCompositor::allocateOrClearCompositedLayerMapping(
innerCompositor->updateRootLayerAttachment();
}
- if (compositedLayerMappingChanged)
- layer->clipper().clearClipRectsIncludingDescendants(PaintingClipRects);
+ if (compositedLayerMappingChanged) {
+ layer->clipper(PaintLayer::DoNotUseGeometryMapper)
+ .clearClipRectsIncludingDescendants(PaintingClipRects);
+ }
// If a fixed position layer gained/lost a compositedLayerMapping or the
// reason not compositing it changed, the scrolling coordinator needs to

Powered by Google App Engine
This is Rietveld 408576698