Index: Source/core/svg/SVGPatternElement.cpp |
diff --git a/Source/core/svg/SVGPatternElement.cpp b/Source/core/svg/SVGPatternElement.cpp |
index 992a79f6caa68c463764253694282e30d0a36b03..792da57cdaa3798f93a970fd14c451d81a34adfa 100644 |
--- a/Source/core/svg/SVGPatternElement.cpp |
+++ b/Source/core/svg/SVGPatternElement.cpp |
@@ -32,6 +32,9 @@ namespace blink { |
inline SVGPatternElement::SVGPatternElement(Document& document) |
: SVGElement(SVGNames::patternTag, document) |
+ , SVGURIReference(this) |
+ , SVGTests(this) |
+ , SVGFitToViewBox(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)) |
@@ -40,10 +43,6 @@ inline SVGPatternElement::SVGPatternElement(Document& document) |
, m_patternUnits(SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>::create(this, SVGNames::patternUnitsAttr, SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX)) |
, m_patternContentUnits(SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>::create(this, SVGNames::patternContentUnitsAttr, SVGUnitTypes::SVG_UNIT_TYPE_USERSPACEONUSE)) |
{ |
- SVGURIReference::initialize(this); |
- SVGTests::initialize(this); |
- SVGFitToViewBox::initialize(this); |
- |
addToPropertyMap(m_x); |
addToPropertyMap(m_y); |
addToPropertyMap(m_width); |