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

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceLoader.cpp

Issue 1852663002: Oilpan: Remove WillBe types (part 9) (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/fetch/ResourceLoader.cpp
diff --git a/third_party/WebKit/Source/core/fetch/ResourceLoader.cpp b/third_party/WebKit/Source/core/fetch/ResourceLoader.cpp
index e1c794233adb7bf65b6af34aa0719fb346fde660..38bba9600b1976ea731eace7bf934ba86e5c3c1f 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceLoader.cpp
+++ b/third_party/WebKit/Source/core/fetch/ResourceLoader.cpp
@@ -328,7 +328,7 @@ void ResourceLoader::didFinishLoading(WebURLLoader*, double finishTime, int64_t
m_state = ConnectionStateFinishedLoading;
WTF_LOG(ResourceLoading, "Received '%s'.", m_resource->url().getString().latin1().data());
- RefPtrWillBeRawPtr<Resource> protectResource(m_resource.get());
+ RawPtr<Resource> protectResource(m_resource.get());
m_resource->setLoadFinishTime(finishTime);
didFinishLoadingOnePart(finishTime, encodedDataLength);
if (m_state == ConnectionStateReleased)
@@ -349,7 +349,7 @@ void ResourceLoader::didFail(WebURLLoader*, const WebURLError& error)
m_state = ConnectionStateFailed;
WTF_LOG(ResourceLoading, "Failed to load '%s'.\n", m_resource->url().getString().latin1().data());
- RefPtrWillBeRawPtr<Resource> protectResource(m_resource.get());
+ RawPtr<Resource> protectResource(m_resource.get());
m_resource->setResourceError(error);
if (!m_notifiedLoadComplete) {
@@ -381,7 +381,7 @@ void ResourceLoader::requestSynchronously(ResourceRequest& request)
return;
}
- RefPtrWillBeRawPtr<Resource> protectResource(m_resource.get());
+ RawPtr<Resource> protectResource(m_resource.get());
WrappedResourceRequest requestIn(request);
WebURLResponse responseOut;
responseOut.initialize();
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceLoader.h ('k') | third_party/WebKit/Source/core/fetch/ResourceOwner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698