| Index: third_party/WebKit/Source/core/dom/PendingScript.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/PendingScript.cpp b/third_party/WebKit/Source/core/dom/PendingScript.cpp
|
| index 0c0fdc93b80588359404a5fc22d03f79ac5a1217..0b0729482fc3b089dde7f136055971989ccbf85b 100644
|
| --- a/third_party/WebKit/Source/core/dom/PendingScript.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/PendingScript.cpp
|
| @@ -33,9 +33,9 @@
|
|
|
| namespace blink {
|
|
|
| -PassOwnPtrWillBeRawPtr<PendingScript> PendingScript::create(Element* element, ScriptResource* resource)
|
| +RawPtr<PendingScript> PendingScript::create(Element* element, ScriptResource* resource)
|
| {
|
| - return adoptPtrWillBeNoop(new PendingScript(element, resource));
|
| + return (new PendingScript(element, resource));
|
| }
|
|
|
| PendingScript::PendingScript(Element* element, ScriptResource* resource)
|
| @@ -113,7 +113,7 @@ void PendingScript::setElement(Element* element)
|
| m_element = element;
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<Element> PendingScript::releaseElementAndClear()
|
| +RawPtr<Element> PendingScript::releaseElementAndClear()
|
| {
|
| setScriptResource(0);
|
| m_watchingForLoad = false;
|
| @@ -202,7 +202,7 @@ ScriptSourceCode PendingScript::getSource(const KURL& documentURL, bool& errorOc
|
| return ScriptSourceCode(m_element->textContent(), documentURL, startingPosition());
|
| }
|
|
|
| -void PendingScript::setStreamer(PassRefPtrWillBeRawPtr<ScriptStreamer> streamer)
|
| +void PendingScript::setStreamer(RawPtr<ScriptStreamer> streamer)
|
| {
|
| ASSERT(!m_streamer);
|
| ASSERT(!m_watchingForLoad);
|
|
|