Index: Source/core/svg/SVGScriptElement.cpp |
diff --git a/Source/core/svg/SVGScriptElement.cpp b/Source/core/svg/SVGScriptElement.cpp |
index b71c8826222e16547efda127661e636004e52a9e..bd76f996b09c268a5d939fbe7d4aabd00cdbc9b3 100644 |
--- a/Source/core/svg/SVGScriptElement.cpp |
+++ b/Source/core/svg/SVGScriptElement.cpp |
@@ -42,7 +42,7 @@ inline SVGScriptElement::SVGScriptElement(Document& document, bool wasInsertedBy |
PassRefPtrWillBeRawPtr<SVGScriptElement> SVGScriptElement::create(Document& document, bool insertedByParser) |
{ |
- return adoptRefWillBeRefCountedGarbageCollected(new SVGScriptElement(document, insertedByParser, false)); |
+ return adoptRefWillBeNoop(new SVGScriptElement(document, insertedByParser, false)); |
} |
bool SVGScriptElement::isSupportedAttribute(const QualifiedName& attrName) |
@@ -182,7 +182,7 @@ bool SVGScriptElement::hasSourceAttribute() const |
PassRefPtrWillBeRawPtr<Element> SVGScriptElement::cloneElementWithoutAttributesAndChildren() |
{ |
- return adoptRefWillBeRefCountedGarbageCollected(new SVGScriptElement(document(), false, m_loader->alreadyStarted())); |
+ return adoptRefWillBeNoop(new SVGScriptElement(document(), false, m_loader->alreadyStarted())); |
} |
void SVGScriptElement::dispatchLoadEvent() |