Index: Source/core/svg/SVGUseElement.h |
diff --git a/Source/core/svg/SVGUseElement.h b/Source/core/svg/SVGUseElement.h |
index 4385d55837817321e57b85af8c9d384084d7ee04..052ee057ee6b9c6359e7039c518c1d9f277b8c56 100644 |
--- a/Source/core/svg/SVGUseElement.h |
+++ b/Source/core/svg/SVGUseElement.h |
@@ -48,6 +48,11 @@ public: |
RenderObject* rendererClipChild() 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: |
SVGUseElement(Document&, bool wasInsertedByParser); |
@@ -95,11 +100,11 @@ private: |
void transferUseAttributesToReplacedElement(SVGElement* from, SVGElement* to) const; |
void transferEventListenersToShadowTree(SVGElementInstance* target); |
+ RefPtr<SVGAnimatedLength> m_x; |
+ RefPtr<SVGAnimatedLength> m_y; |
+ RefPtr<SVGAnimatedLength> m_width; |
+ RefPtr<SVGAnimatedLength> m_height; |
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGUseElement) |
- 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) |
END_DECLARE_ANIMATED_PROPERTIES |