Index: Source/core/svg/SVGTextPathElement.cpp |
diff --git a/Source/core/svg/SVGTextPathElement.cpp b/Source/core/svg/SVGTextPathElement.cpp |
index eb21c90e30612eca172c248b4ce32d8fbf5ce322..9cbf1c149082ae91ff53dda7ace360c53f686afb 100644 |
--- a/Source/core/svg/SVGTextPathElement.cpp |
+++ b/Source/core/svg/SVGTextPathElement.cpp |
@@ -44,20 +44,19 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGTextPathElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTextContentElement) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGTextPathElement::SVGTextPathElement(const QualifiedName& tagName, Document& document) |
- : SVGTextContentElement(tagName, document) |
+inline SVGTextPathElement::SVGTextPathElement(Document& document) |
+ : SVGTextContentElement(SVGNames::textPathTag, document) |
, m_startOffset(LengthModeOther) |
, m_method(SVGTextPathMethodAlign) |
, m_spacing(SVGTextPathSpacingExact) |
{ |
- ASSERT(hasTagName(SVGNames::textPathTag)); |
ScriptWrappable::init(this); |
registerAnimatedPropertiesForSVGTextPathElement(); |
} |
-PassRefPtr<SVGTextPathElement> SVGTextPathElement::create(const QualifiedName& tagName, Document& document) |
+PassRefPtr<SVGTextPathElement> SVGTextPathElement::create(Document& document) |
{ |
- return adoptRef(new SVGTextPathElement(tagName, document)); |
+ return adoptRef(new SVGTextPathElement(document)); |
} |
SVGTextPathElement::~SVGTextPathElement() |