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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.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/LayoutSVGTransformableContainer.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.h
index dff925dcf2636f54d1266b1b0d09bb16cdca0b64..6abe13a83c5b9d73e9773560aa4bd023bdc518b6 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGTransformableContainer.h
@@ -26,6 +26,7 @@
namespace blink {
class SVGGraphicsElement;
+
class LayoutSVGTransformableContainer final : public LayoutSVGContainer {
public:
explicit LayoutSVGTransformableContainer(SVGGraphicsElement*);
@@ -37,7 +38,7 @@ public:
const FloatSize& additionalTranslation() const { return m_additionalTranslation; }
void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; }
- bool didTransformToRootUpdate() override { return m_didTransformToRootUpdate; }
+ bool didTransformToRootUpdate() const override { return m_didTransformToRootUpdate; }
private:
bool calculateLocalTransform() override;

Powered by Google App Engine
This is Rietveld 408576698