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

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, 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/web/WebDataSourceImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebDataSourceImpl.cpp b/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
index e9bd72193b2637ddea2fc6cfb9e3cca7aa16ca93..c052d290954a3e61a82d1a4bc069e8ad6b311601 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();

Powered by Google App Engine
This is Rietveld 408576698