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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h

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/layout/svg/LayoutSVGRoot.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
index d20594fc39b6eb3b080c076291b002dab28168a1..d9bc63b64e6539c00a19d073861eb13d8c1bc746 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
@@ -81,7 +81,11 @@ class CORE_EXPORT LayoutSVGRoot final : public LayoutReplaced {
const AffineTransform& localToBorderBoxTransform() const {
return m_localToBorderBoxTransform;
}
+
bool shouldApplyViewportClip() const;
+ bool shouldClipOverflow() const override {
+ return LayoutBox::shouldClipOverflow() || shouldApplyViewportClip();
+ }
LayoutRect visualOverflowRect() const override;
LayoutRect overflowClipRect(
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698