Index: Source/core/svg/SVGViewElement.cpp |
diff --git a/Source/core/svg/SVGViewElement.cpp b/Source/core/svg/SVGViewElement.cpp |
index 89d7bc448df18b6baea4ec7db645a6ae4cd62adf..55237b65d100f73b37b272ffdcf09f49a1e4f365 100644 |
--- a/Source/core/svg/SVGViewElement.cpp |
+++ b/Source/core/svg/SVGViewElement.cpp |
@@ -41,19 +41,18 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGViewElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGElement) |
END_REGISTER_ANIMATED_PROPERTIES |
-inline SVGViewElement::SVGViewElement(const QualifiedName& tagName, Document& document) |
- : SVGElement(tagName, document) |
+inline SVGViewElement::SVGViewElement(Document& document) |
+ : SVGElement(SVGNames::viewTag, document) |
, m_zoomAndPan(SVGZoomAndPanMagnify) |
, m_viewTarget(SVGNames::viewTargetAttr) |
{ |
- ASSERT(hasTagName(SVGNames::viewTag)); |
ScriptWrappable::init(this); |
registerAnimatedPropertiesForSVGViewElement(); |
} |
-PassRefPtr<SVGViewElement> SVGViewElement::create(const QualifiedName& tagName, Document& document) |
+PassRefPtr<SVGViewElement> SVGViewElement::create(Document& document) |
{ |
- return adoptRef(new SVGViewElement(tagName, document)); |
+ return adoptRef(new SVGViewElement(document)); |
} |
bool SVGViewElement::isSupportedAttribute(const QualifiedName& attrName) |