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

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

Issue 2514573003: Update documentation and cleanup impls for localToSVGParentTransform() (Closed)
Patch Set: - Created 4 years, 1 month 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 eb76699ca599aff82444d0847f90fd62b2eb1287..37e2d380d0d2dffd54acefa1ca273a4049a81b18 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
@@ -121,7 +121,7 @@ class CORE_EXPORT LayoutSVGRoot final : public LayoutReplaced {
void insertedIntoTree() override;
void willBeRemovedFromTree() override;
- const AffineTransform& localToSVGParentTransform() const override;
+ AffineTransform localToSVGParentTransform() const override;
FloatRect objectBoundingBox() const override { return m_objectBoundingBox; }
FloatRect strokeBoundingBox() const override { return m_strokeBoundingBox; }
@@ -165,7 +165,6 @@ class CORE_EXPORT LayoutSVGRoot final : public LayoutReplaced {
bool m_objectBoundingBoxValid;
FloatRect m_strokeBoundingBox;
FloatRect m_visualRectInLocalSVGCoordinates;
- mutable AffineTransform m_localToParentTransform;
AffineTransform m_localToBorderBoxTransform;
bool m_isLayoutSizeChanged : 1;
bool m_didScreenScaleFactorChange : 1;

Powered by Google App Engine
This is Rietveld 408576698