| Index: third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp b/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
|
| index 97edeeac86a081fe7c4dc143f141c313738c79d5..d61560f575c8c30e73eae448b428f780c16befe9 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
|
| @@ -43,9 +43,9 @@ inline HTMLScriptElement::HTMLScriptElement(Document& document, bool wasInserted
|
| {
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<HTMLScriptElement> HTMLScriptElement::create(Document& document, bool wasInsertedByParser, bool alreadyStarted)
|
| +RawPtr<HTMLScriptElement> HTMLScriptElement::create(Document& document, bool wasInsertedByParser, bool alreadyStarted)
|
| {
|
| - return adoptRefWillBeNoop(new HTMLScriptElement(document, wasInsertedByParser, alreadyStarted));
|
| + return new HTMLScriptElement(document, wasInsertedByParser, alreadyStarted);
|
| }
|
|
|
| bool HTMLScriptElement::isURLAttribute(const Attribute& attribute) const
|
| @@ -174,9 +174,9 @@ void HTMLScriptElement::dispatchLoadEvent()
|
| dispatchEvent(Event::create(EventTypeNames::load));
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<Element> HTMLScriptElement::cloneElementWithoutAttributesAndChildren()
|
| +RawPtr<Element> HTMLScriptElement::cloneElementWithoutAttributesAndChildren()
|
| {
|
| - return adoptRefWillBeNoop(new HTMLScriptElement(document(), false, m_loader->alreadyStarted()));
|
| + return new HTMLScriptElement(document(), false, m_loader->alreadyStarted());
|
| }
|
|
|
| DEFINE_TRACE(HTMLScriptElement)
|
|
|