Index: Source/core/svg/SVGMarkerElement.cpp |
diff --git a/Source/core/svg/SVGMarkerElement.cpp b/Source/core/svg/SVGMarkerElement.cpp |
index 6f3c9fad9e0217dc695bd2183f500d906b05935d..62d4d20a002fda31563ac198a7b8f5ec10362744 100644 |
--- a/Source/core/svg/SVGMarkerElement.cpp |
+++ b/Source/core/svg/SVGMarkerElement.cpp |
@@ -40,7 +40,7 @@ template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGMarkerUn |
} |
-SVGMarkerElement::SVGMarkerElement(Document& document) |
+inline SVGMarkerElement::SVGMarkerElement(Document& document) |
: SVGElement(SVGNames::markerTag, document) |
, SVGFitToViewBox(this) |
, m_refX(SVGAnimatedLength::create(this, SVGNames::refXAttr, SVGLength::create(LengthModeWidth), AllowNegativeLengths)) |
@@ -64,6 +64,8 @@ SVGMarkerElement::SVGMarkerElement(Document& document) |
addToPropertyMap(m_markerUnits); |
} |
+DEFINE_NODE_FACTORY(SVGMarkerElement) |
+ |
AffineTransform SVGMarkerElement::viewBoxToViewTransform(float viewWidth, float viewHeight) const |
{ |
return SVGFitToViewBox::viewBoxToViewTransform(viewBox()->currentValue()->value(), preserveAspectRatio()->currentValue(), viewWidth, viewHeight); |