Index: Source/core/svg/SVGLineElement.h |
diff --git a/Source/core/svg/SVGLineElement.h b/Source/core/svg/SVGLineElement.h |
index 45fe40b62e0b90d87ec99e7523970e8d7c8badea..f01dc19b6b07cc64ab3cfa41b23326cf86b35d6a 100644 |
--- a/Source/core/svg/SVGLineElement.h |
+++ b/Source/core/svg/SVGLineElement.h |
@@ -32,6 +32,11 @@ class SVGLineElement FINAL : public SVGGeometryElement { |
public: |
static PassRefPtr<SVGLineElement> create(Document&); |
+ SVGAnimatedLength* x1() const { return m_x1.get(); } |
+ SVGAnimatedLength* y1() const { return m_y1.get(); } |
+ SVGAnimatedLength* x2() const { return m_x2.get(); } |
+ SVGAnimatedLength* y2() const { return m_y2.get(); } |
+ |
private: |
explicit SVGLineElement(Document&); |
@@ -46,11 +51,11 @@ private: |
virtual bool selfHasRelativeLengths() const; |
+ RefPtr<SVGAnimatedLength> m_x1; |
+ RefPtr<SVGAnimatedLength> m_y1; |
+ RefPtr<SVGAnimatedLength> m_x2; |
+ RefPtr<SVGAnimatedLength> m_y2; |
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGLineElement) |
- DECLARE_ANIMATED_LENGTH(X1, x1) |
- DECLARE_ANIMATED_LENGTH(Y1, y1) |
- DECLARE_ANIMATED_LENGTH(X2, x2) |
- DECLARE_ANIMATED_LENGTH(Y2, y2) |
END_DECLARE_ANIMATED_PROPERTIES |
}; |