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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.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/LayoutBoxModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
index c3f9368ccc8c86a72f400ecd57acbec015062842..ab697565f8feb198a4dcee6086bff637b6c1c5ba 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
@@ -232,8 +232,11 @@ void LayoutBoxModelObject::styleWillChange(StyleDifference diff,
FloatStateForStyleChange::setWasFloating(this, isFloating());
- if (hasLayer() && diff.cssClipChanged())
- layer()->clipper().clearClipRectsIncludingDescendants();
+ if (hasLayer() && diff.cssClipChanged()) {
+ layer()
+ ->clipper(PaintLayer::DoNotUseGeometryMapper)
+ .clearClipRectsIncludingDescendants();
+ }
LayoutObject::styleWillChange(diff, newStyle);
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698