Index: Source/core/svg/SVGForeignObjectElement.h |
diff --git a/Source/core/svg/SVGForeignObjectElement.h b/Source/core/svg/SVGForeignObjectElement.h |
index 38d3734f37eb74bfb75cdfe567a5a72251350782..1de0d27d113207e7ebf05c5b23a670e3d9cfefc8 100644 |
--- a/Source/core/svg/SVGForeignObjectElement.h |
+++ b/Source/core/svg/SVGForeignObjectElement.h |
@@ -34,6 +34,11 @@ class SVGForeignObjectElement FINAL : public SVGGraphicsElement, |
public: |
static PassRefPtr<SVGForeignObjectElement> 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 SVGForeignObjectElement(Document&); |
@@ -48,11 +53,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(SVGForeignObjectElement) |
- DECLARE_ANIMATED_LENGTH(X, x) |
- DECLARE_ANIMATED_LENGTH(Y, y) |
- DECLARE_ANIMATED_LENGTH(Width, width) |
- DECLARE_ANIMATED_LENGTH(Height, height) |
DECLARE_ANIMATED_STRING(Href, href) |
DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesRequired) |
END_DECLARE_ANIMATED_PROPERTIES |