| Index: third_party/WebKit/Source/core/svg/SVGScriptElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGScriptElement.cpp b/third_party/WebKit/Source/core/svg/SVGScriptElement.cpp
|
| index b749c82c4bae14dcb171d806e83040270f3eb25c..638e4178a95252c5ac5df6da2f629bfa418f6e3b 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGScriptElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGScriptElement.cpp
|
| @@ -36,9 +36,9 @@ inline SVGScriptElement::SVGScriptElement(Document& document, bool wasInsertedBy
|
| {
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<SVGScriptElement> SVGScriptElement::create(Document& document, bool insertedByParser)
|
| +RawPtr<SVGScriptElement> SVGScriptElement::create(Document& document, bool insertedByParser)
|
| {
|
| - return adoptRefWillBeNoop(new SVGScriptElement(document, insertedByParser, false));
|
| + return new SVGScriptElement(document, insertedByParser, false);
|
| }
|
|
|
| void SVGScriptElement::parseAttribute(const QualifiedName& name, const AtomicString& oldValue, const AtomicString& value)
|
| @@ -147,9 +147,9 @@ bool SVGScriptElement::hasSourceAttribute() const
|
| return href()->isSpecified();
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<Element> SVGScriptElement::cloneElementWithoutAttributesAndChildren()
|
| +RawPtr<Element> SVGScriptElement::cloneElementWithoutAttributesAndChildren()
|
| {
|
| - return adoptRefWillBeNoop(new SVGScriptElement(document(), false, m_loader->alreadyStarted()));
|
| + return new SVGScriptElement(document(), false, m_loader->alreadyStarted());
|
| }
|
|
|
| void SVGScriptElement::dispatchLoadEvent()
|
|
|