Index: Source/core/svg/SVGPatternElement.h |
diff --git a/Source/core/svg/SVGPatternElement.h b/Source/core/svg/SVGPatternElement.h |
index 3536b4b89ea26c4f40b7bf7cdc26b44777f03f2c..bcb1629a7c9a244608121333a63177f78cc4e1fe 100644 |
--- a/Source/core/svg/SVGPatternElement.h |
+++ b/Source/core/svg/SVGPatternElement.h |
@@ -51,6 +51,11 @@ public: |
virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const; |
+ SVGAnimatedLength* x() const { return m_x.get(); } |
+ SVGAnimatedLength* y() const { return m_y.get(); } |
+ SVGAnimatedLength* width() const { return m_width.get(); } |
+ SVGAnimatedLength* height() const { return m_height.get(); } |
+ |
private: |
explicit SVGPatternElement(Document&); |
@@ -66,11 +71,11 @@ private: |
virtual bool selfHasRelativeLengths() const; |
+ RefPtr<SVGAnimatedLength> m_x; |
+ RefPtr<SVGAnimatedLength> m_y; |
+ RefPtr<SVGAnimatedLength> m_width; |
+ RefPtr<SVGAnimatedLength> m_height; |
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGPatternElement) |
- DECLARE_ANIMATED_LENGTH(X, x) |
- DECLARE_ANIMATED_LENGTH(Y, y) |
- DECLARE_ANIMATED_LENGTH(Width, width) |
- DECLARE_ANIMATED_LENGTH(Height, height) |
DECLARE_ANIMATED_ENUMERATION(PatternUnits, patternUnits, SVGUnitTypes::SVGUnitType) |
DECLARE_ANIMATED_ENUMERATION(PatternContentUnits, patternContentUnits, SVGUnitTypes::SVGUnitType) |
DECLARE_ANIMATED_TRANSFORM_LIST(PatternTransform, patternTransform) |