Index: Source/core/svg/SVGUseElement.cpp |
diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp |
index 300a62622fbe4f3eb7813109826c004978daa8f1..fa5f94a07182a70651463b2dad6d5eefdc4f436d 100644 |
--- a/Source/core/svg/SVGUseElement.cpp |
+++ b/Source/core/svg/SVGUseElement.cpp |
@@ -45,6 +45,7 @@ namespace blink { |
inline SVGUseElement::SVGUseElement(Document& document) |
: SVGGraphicsElement(SVGNames::useTag, document) |
+ , SVGURIReference(this) |
, m_x(SVGAnimatedLength::create(this, SVGNames::xAttr, SVGLength::create(SVGLengthMode::Width), AllowNegativeLengths)) |
, m_y(SVGAnimatedLength::create(this, SVGNames::yAttr, SVGLength::create(SVGLengthMode::Height), AllowNegativeLengths)) |
, m_width(SVGAnimatedLength::create(this, SVGNames::widthAttr, SVGLength::create(SVGLengthMode::Width), ForbidNegativeLengths)) |
@@ -53,8 +54,6 @@ inline SVGUseElement::SVGUseElement(Document& document) |
, m_needsShadowTreeRecreation(false) |
, m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired) |
{ |
- SVGURIReference::initialize(this); |
- |
ASSERT(hasCustomStyleCallbacks()); |
addToPropertyMap(m_x); |