Index: Source/core/svg/SVGPathElement.cpp |
diff --git a/Source/core/svg/SVGPathElement.cpp b/Source/core/svg/SVGPathElement.cpp |
index bc9bb19a05c68aa4e85c40b7ef756136aefdee9a..feb4139f667eaaf70f0033f2bc73fe4636a8e4dc 100644 |
--- a/Source/core/svg/SVGPathElement.cpp |
+++ b/Source/core/svg/SVGPathElement.cpp |
@@ -49,7 +49,7 @@ |
namespace WebCore { |
-SVGPathElement::SVGPathElement(Document& document) |
+inline SVGPathElement::SVGPathElement(Document& document) |
: SVGGeometryElement(SVGNames::pathTag, document) |
, m_pathLength(SVGAnimatedNumber::create(this, SVGNames::pathLengthAttr, SVGNumber::create())) |
, m_pathSegList(SVGAnimatedPath::create(this, SVGNames::dAttr)) |
@@ -60,6 +60,8 @@ SVGPathElement::SVGPathElement(Document& document) |
addToPropertyMap(m_pathSegList); |
} |
+DEFINE_NODE_FACTORY(SVGPathElement) |
+ |
float SVGPathElement::getTotalLength() |
{ |
float totalLength = 0; |