Index: Source/core/html/HTMLScriptElement.cpp |
diff --git a/Source/core/html/HTMLScriptElement.cpp b/Source/core/html/HTMLScriptElement.cpp |
index 1a87d241975ded3146e2a6048bdce2448690c746..b935ee10c0090b34451e5ec5df02fa4726198139 100644 |
--- a/Source/core/html/HTMLScriptElement.cpp |
+++ b/Source/core/html/HTMLScriptElement.cpp |
@@ -45,7 +45,7 @@ inline HTMLScriptElement::HTMLScriptElement(Document& document, bool wasInserted |
PassRefPtrWillBeRawPtr<HTMLScriptElement> HTMLScriptElement::create(Document& document, bool wasInsertedByParser, bool alreadyStarted) |
{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLScriptElement(document, wasInsertedByParser, alreadyStarted)); |
+ return adoptRefWillBeNoop(new HTMLScriptElement(document, wasInsertedByParser, alreadyStarted)); |
} |
bool HTMLScriptElement::isURLAttribute(const Attribute& attribute) const |
@@ -172,7 +172,7 @@ void HTMLScriptElement::dispatchLoadEvent() |
PassRefPtrWillBeRawPtr<Element> HTMLScriptElement::cloneElementWithoutAttributesAndChildren() |
{ |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLScriptElement(document(), false, m_loader->alreadyStarted())); |
+ return adoptRefWillBeNoop(new HTMLScriptElement(document(), false, m_loader->alreadyStarted())); |
} |
} |