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

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, 9 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 d7971cfe48c8e95e082da1bb11d4053855fe2f4e..54d9faf1708f16e95d2dda3437fde24d51ed5633 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;
@@ -208,7 +208,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);
« no previous file with comments | « third_party/WebKit/Source/core/dom/PendingScript.h ('k') | third_party/WebKit/Source/core/dom/PresentationAttributeStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698