Index: Source/core/svg/SVGImageElement.h |
diff --git a/Source/core/svg/SVGImageElement.h b/Source/core/svg/SVGImageElement.h |
index 1270dc14204589204475ff1649010547d65eab37..1c0e3a9d69a738d7c893b02b6242914c2f4567d5 100644 |
--- a/Source/core/svg/SVGImageElement.h |
+++ b/Source/core/svg/SVGImageElement.h |
@@ -40,6 +40,11 @@ public: |
bool currentFrameHasSingleSecurityOrigin() 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 SVGImageElement(Document&); |
@@ -65,11 +70,11 @@ private: |
virtual bool selfHasRelativeLengths() const; |
virtual void didMoveToNewDocument(Document& oldDocument) OVERRIDE; |
+ RefPtr<SVGAnimatedLength> m_x; |
+ RefPtr<SVGAnimatedLength> m_y; |
+ RefPtr<SVGAnimatedLength> m_width; |
+ RefPtr<SVGAnimatedLength> m_height; |
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGImageElement) |
- DECLARE_ANIMATED_LENGTH(X, x) |
- DECLARE_ANIMATED_LENGTH(Y, y) |
- DECLARE_ANIMATED_LENGTH(Width, width) |
- DECLARE_ANIMATED_LENGTH(Height, height) |
DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspectRatio) |
DECLARE_ANIMATED_STRING(Href, href) |
DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesRequired) |