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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp

Issue 2628773002: Replaced RefPtr::release with std::move in Source/platform. (Closed)
Patch Set: Created 3 years, 11 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/platform/exported/WebURLResponse.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
index 0f4245016b6bc32281aedb3b4ce321fd5de15e59..260c3652b10d864a660d92cf4c1eb4471494c778 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -139,7 +139,7 @@ WebURLLoadTiming WebURLResponse::loadTiming() {
void WebURLResponse::setLoadTiming(const WebURLLoadTiming& timing) {
RefPtr<ResourceLoadTiming> loadTiming =
PassRefPtr<ResourceLoadTiming>(timing);
- m_resourceResponse->setResourceLoadTiming(loadTiming.release());
+ m_resourceResponse->setResourceLoadTiming(std::move(loadTiming));
}
WebHTTPLoadInfo WebURLResponse::httpLoadInfo() {
« no previous file with comments | « third_party/WebKit/Source/platform/blob/BlobData.cpp ('k') | third_party/WebKit/Source/platform/fonts/FontFamily.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698