Index: Source/core/svg/SVGGlyphRefElement.cpp |
diff --git a/Source/core/svg/SVGGlyphRefElement.cpp b/Source/core/svg/SVGGlyphRefElement.cpp |
index 159a20bd67a854693f43752c160ecaba83673903..63908b476d4e3dbeffb17858dab065ef367b25a0 100644 |
--- a/Source/core/svg/SVGGlyphRefElement.cpp |
+++ b/Source/core/svg/SVGGlyphRefElement.cpp |
@@ -37,21 +37,20 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGGlyphRefElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGElement) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGGlyphRefElement::SVGGlyphRefElement(const QualifiedName& tagName, Document& document) |
- : SVGElement(tagName, document) |
+inline SVGGlyphRefElement::SVGGlyphRefElement(Document& document) |
+ : SVGElement(SVGNames::glyphRefTag, document) |
, m_x(0) |
, m_y(0) |
, m_dx(0) |
, m_dy(0) |
{ |
- ASSERT(hasTagName(SVGNames::glyphRefTag)); |
ScriptWrappable::init(this); |
registerAnimatedPropertiesForSVGGlyphRefElement(); |
} |
-PassRefPtr<SVGGlyphRefElement> SVGGlyphRefElement::create(const QualifiedName& tagName, Document& document) |
+PassRefPtr<SVGGlyphRefElement> SVGGlyphRefElement::create(Document& document) |
{ |
- return adoptRef(new SVGGlyphRefElement(tagName, document)); |
+ return adoptRef(new SVGGlyphRefElement(document)); |
} |
bool SVGGlyphRefElement::hasValidGlyphElement(String& glyphName) const |