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

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

Issue 2671853003: [SPInvalidation] Use GeometryMapper in PaintLayerClipper for paint. (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
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 ab1872a840949a71eba27cd789e9d8e4fc7e6a33..e0f9c71219730d6f4a432da193606cf2d1e2b2b9 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