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

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

Issue 2460983002: Use LayoutBox::paintedOutputOfObjectHasNoEffectregardlessOfSize() for SVGRoot (Closed)
Patch Set: Rebase Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutReplaced.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0a187c0806904bfa333c4d709481a4b8ba85d272..818d50b7419c05b91cbcb99d7c2d7f1875c16f7c 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
@@ -136,6 +136,11 @@ class CORE_EXPORT LayoutSVGRoot final : public LayoutReplaced {
LayoutRect localOverflowRectForPaintInvalidation() const override;
+ bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const final {
+ // The rule is the same as LayoutBox's instead of LayoutReplaced's.
+ return LayoutBox::paintedOutputOfObjectHasNoEffectRegardlessOfSize();
+ }
+
void mapLocalToAncestor(
const LayoutBoxModelObject* ancestor,
TransformState&,
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutReplaced.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698