Index: Source/core/layout/svg/LayoutSVGTransformableContainer.h |
diff --git a/Source/core/layout/svg/LayoutSVGTransformableContainer.h b/Source/core/layout/svg/LayoutSVGTransformableContainer.h |
index a7d834a5b27b955dae917866896c0d9f0b6f549e..bcd2d189abf4394f6897796f026c184b03d9c3ff 100644 |
--- a/Source/core/layout/svg/LayoutSVGTransformableContainer.h |
+++ b/Source/core/layout/svg/LayoutSVGTransformableContainer.h |
@@ -34,6 +34,8 @@ public: |
bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGTransformableContainer || LayoutSVGContainer::isOfType(type); } |
const AffineTransform& localToParentTransform() const override { return m_localTransform; } |
+ const FloatSize& additionalTranslation() const { return m_lastTranslation; } |
pdr.
2015/09/11 05:57:18
WDYT about renaming m_lastTranslation since "last"
|
+ |
void setNeedsTransformUpdate() override { m_needsTransformUpdate = true; } |
bool didTransformToRootUpdate() override { return m_didTransformToRootUpdate; } |
@@ -47,6 +49,8 @@ private: |
FloatSize m_lastTranslation; |
}; |
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGTransformableContainer, isSVGTransformableContainer()); |
+ |
} |
#endif // LayoutSVGTransformableContainer_h |