Index: Source/core/svg/SVGStopElement.cpp |
diff --git a/Source/core/svg/SVGStopElement.cpp b/Source/core/svg/SVGStopElement.cpp |
index 68b982d3128a75ccc15483054698262c27074b1e..158ba3f1024def854900f54bb88eca5dfa4b8194 100644 |
--- a/Source/core/svg/SVGStopElement.cpp |
+++ b/Source/core/svg/SVGStopElement.cpp |
@@ -27,7 +27,7 @@ |
namespace WebCore { |
-SVGStopElement::SVGStopElement(Document& document) |
+inline SVGStopElement::SVGStopElement(Document& document) |
: SVGElement(SVGNames::stopTag, document) |
, m_offset(SVGAnimatedNumber::create(this, SVGNames::offsetAttr, SVGNumberAcceptPercentage::create())) |
{ |
@@ -36,6 +36,8 @@ SVGStopElement::SVGStopElement(Document& document) |
addToPropertyMap(m_offset); |
} |
+DEFINE_NODE_FACTORY(SVGStopElement) |
+ |
bool SVGStopElement::isSupportedAttribute(const QualifiedName& attrName) |
{ |
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |