Index: Source/core/svg/SVGMaskElement.h |
diff --git a/Source/core/svg/SVGMaskElement.h b/Source/core/svg/SVGMaskElement.h |
index d2c90d6e27da8ba27680d84f17399e73c15cbc75..8c0814de508ee0712532b198eef93bc5d0c9e1bf 100644 |
--- a/Source/core/svg/SVGMaskElement.h |
+++ b/Source/core/svg/SVGMaskElement.h |
@@ -35,6 +35,11 @@ class SVGMaskElement FINAL : public SVGElement, |
public: |
static PassRefPtr<SVGMaskElement> create(Document&); |
+ 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 SVGMaskElement(Document&); |
@@ -50,13 +55,13 @@ 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(SVGMaskElement) |
DECLARE_ANIMATED_ENUMERATION(MaskUnits, maskUnits, SVGUnitTypes::SVGUnitType) |
DECLARE_ANIMATED_ENUMERATION(MaskContentUnits, maskContentUnits, SVGUnitTypes::SVGUnitType) |
- DECLARE_ANIMATED_LENGTH(X, x) |
- DECLARE_ANIMATED_LENGTH(Y, y) |
- DECLARE_ANIMATED_LENGTH(Width, width) |
- DECLARE_ANIMATED_LENGTH(Height, height) |
END_DECLARE_ANIMATED_PROPERTIES |
// SVGTests |