Index: Source/core/svg/SVGLineElement.h |
diff --git a/Source/core/svg/SVGLineElement.h b/Source/core/svg/SVGLineElement.h |
index 68b961afa8da5bc5db662b5584ce131327b78496..c81d6a01ff0d8aad7a72cba696b0279512309a74 100644 |
--- a/Source/core/svg/SVGLineElement.h |
+++ b/Source/core/svg/SVGLineElement.h |
@@ -34,6 +34,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&); |
@@ -48,11 +53,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) |
DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesRequired) |
END_DECLARE_ANIMATED_PROPERTIES |
}; |