| Index: Source/core/svg/SVGScriptElement.cpp
|
| diff --git a/Source/core/svg/SVGScriptElement.cpp b/Source/core/svg/SVGScriptElement.cpp
|
| index 832dfba8a2aaab7a6ec9b92df0b105173b0f85a4..9a7040f109313b70c2b3c7e6e3ed102abcc8677c 100644
|
| --- a/Source/core/svg/SVGScriptElement.cpp
|
| +++ b/Source/core/svg/SVGScriptElement.cpp
|
| @@ -43,19 +43,18 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGScriptElement)
|
| REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired)
|
| END_REGISTER_ANIMATED_PROPERTIES
|
|
|
| -inline SVGScriptElement::SVGScriptElement(const QualifiedName& tagName, Document& document, bool wasInsertedByParser, bool alreadyStarted)
|
| - : SVGElement(tagName, document)
|
| +inline SVGScriptElement::SVGScriptElement(Document& document, bool wasInsertedByParser, bool alreadyStarted)
|
| + : SVGElement(SVGNames::scriptTag, document)
|
| , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired)
|
| , m_loader(ScriptLoader::create(this, wasInsertedByParser, alreadyStarted))
|
| {
|
| - ASSERT(hasTagName(SVGNames::scriptTag));
|
| ScriptWrappable::init(this);
|
| registerAnimatedPropertiesForSVGScriptElement();
|
| }
|
|
|
| -PassRefPtr<SVGScriptElement> SVGScriptElement::create(const QualifiedName& tagName, Document& document, bool insertedByParser)
|
| +PassRefPtr<SVGScriptElement> SVGScriptElement::create(Document& document, bool insertedByParser)
|
| {
|
| - return adoptRef(new SVGScriptElement(tagName, document, insertedByParser, false));
|
| + return adoptRef(new SVGScriptElement(document, insertedByParser, false));
|
| }
|
|
|
| bool SVGScriptElement::isSupportedAttribute(const QualifiedName& attrName)
|
| @@ -211,7 +210,7 @@ bool SVGScriptElement::hasSourceAttribute() const
|
|
|
| PassRefPtr<Element> SVGScriptElement::cloneElementWithoutAttributesAndChildren()
|
| {
|
| - return adoptRef(new SVGScriptElement(tagQName(), document(), false, m_loader->alreadyStarted()));
|
| + return adoptRef(new SVGScriptElement(document(), false, m_loader->alreadyStarted()));
|
| }
|
|
|
| void SVGScriptElement::setHaveFiredLoadEvent(bool haveFiredLoadEvent)
|
|
|