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

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

Issue 2573963002: [SPInvalidation] Update paint properties when border radii change (Closed)
Patch Set: Rebase Created 4 years 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/paint/PaintPropertyTreeBuilder.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
index a0a17d3962ef13e7d138575fc7b25be600a0f5ca..e388aaff88dbc94db86bc74a32d1a0c531bf55e1 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
@@ -532,9 +532,7 @@ void PaintPropertyTreeBuilder::updateOverflowClip(
LayoutRect clipRect;
if (box.hasControlClip()) {
clipRect = box.controlClipRect(context.current.paintOffset);
- } else if (box.hasOverflowClip() || box.styleRef().containsPaint() ||
- (box.isSVGRoot() &&
- toLayoutSVGRoot(box).shouldApplyViewportClip())) {
+ } else if (box.shouldClipOverflow()) {
clipRect = LayoutRect(pixelSnappedIntRect(
box.overflowClipRect(context.current.paintOffset)));
} else {
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h ('k') | third_party/WebKit/Source/core/style/BorderData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698