Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Unified Diff: third_party/WebKit/Source/core/dom/PendingScript.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698