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

Unified Diff: net/url_request/url_fetcher_impl.cc

Issue 1545233002: Convert Pass()→std::move() in //net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « net/url_request/url_fetcher_core.cc ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_fetcher_impl.cc
diff --git a/net/url_request/url_fetcher_impl.cc b/net/url_request/url_fetcher_impl.cc
index 02a3ae9024eb4ecb15461d8a6c1a3079cbee1a5b..ed00e4ef8b8e7b521da8b15e1d92ae411d8b51f3 100644
--- a/net/url_request/url_fetcher_impl.cc
+++ b/net/url_request/url_fetcher_impl.cc
@@ -4,6 +4,8 @@
#include "net/url_request/url_fetcher_impl.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/sequenced_task_runner.h"
#include "net/base/upload_data_stream.h"
@@ -139,7 +141,7 @@ void URLFetcherImpl::SaveResponseToTemporaryFile(
void URLFetcherImpl::SaveResponseWithWriter(
scoped_ptr<URLFetcherResponseWriter> response_writer) {
- core_->SaveResponseWithWriter(response_writer.Pass());
+ core_->SaveResponseWithWriter(std::move(response_writer));
}
HttpResponseHeaders* URLFetcherImpl::GetResponseHeaders() const {
« no previous file with comments | « net/url_request/url_fetcher_core.cc ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698