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

Unified Diff: third_party/WebKit/Source/web/WebDataSourceImpl.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/web/WebDataSourceImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebDataSourceImpl.cpp b/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
index 658656ee0c49f036eba6a977f35c66fb6269ca1d..03b0c522cffb44630191907448d374c99c29cdb7 100644
--- a/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
+++ b/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
@@ -37,9 +37,9 @@
namespace blink {
-PassRefPtrWillBeRawPtr<WebDataSourceImpl> WebDataSourceImpl::create(LocalFrame* frame, const ResourceRequest& request, const SubstituteData& data)
+RawPtr<WebDataSourceImpl> WebDataSourceImpl::create(LocalFrame* frame, const ResourceRequest& request, const SubstituteData& data)
{
- return adoptRefWillBeNoop(new WebDataSourceImpl(frame, request, data));
+ return new WebDataSourceImpl(frame, request, data);
}
const WebURLRequest& WebDataSourceImpl::originalRequest() const
@@ -143,7 +143,7 @@ WebDataSourceImpl::~WebDataSourceImpl()
void WebDataSourceImpl::detachFromFrame()
{
- RefPtrWillBeRawPtr<DocumentLoader> protect(this);
+ RawPtr<DocumentLoader> protect(this);
DocumentLoader::detachFromFrame();
m_extraData.clear();
« no previous file with comments | « third_party/WebKit/Source/web/WebDataSourceImpl.h ('k') | third_party/WebKit/Source/web/WebDevToolsAgentImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698