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

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

Issue 1897263002: Hoist transformToRootChanged() out of SVGLayoutSupport::layoutChildren (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@svg-container-layout-cleanup-1
Patch Set: Created 4 years, 8 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/svg/LayoutSVGContainer.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
index 725028347c98fa1b49069e5e37f4aa31cc5e4897..49caa186514da2ef6cf4717107a74da363b2281d 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.h
@@ -44,7 +44,7 @@ public:
void paint(const PaintInfo&, const LayoutPoint&) const override;
void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
void setNeedsBoundariesUpdate() final { m_needsBoundariesUpdate = true; }
- virtual bool didTransformToRootUpdate() { return false; }
+ virtual bool didTransformToRootUpdate() const { return false; }
bool isObjectBoundingBoxValid() const { return m_objectBoundingBoxValid; }
bool selfWillPaint() const;

Powered by Google App Engine
This is Rietveld 408576698