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

Unified Diff: net/proxy/multi_threaded_proxy_resolver.cc

Issue 1477643002: Remove the TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@basepass
Patch Set: type-with-move: no-media 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/cert/ct_objects_extractor_unittest.cc ('k') | net/ssl/client_key_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/multi_threaded_proxy_resolver.cc
diff --git a/net/proxy/multi_threaded_proxy_resolver.cc b/net/proxy/multi_threaded_proxy_resolver.cc
index 7f03bbfbba3859c2066198e16bbefde40e741bcf..e03eb288505c841c6d8ac9d88b7869e46dc14414 100644
--- a/net/proxy/multi_threaded_proxy_resolver.cc
+++ b/net/proxy/multi_threaded_proxy_resolver.cc
@@ -5,6 +5,7 @@
#include "net/proxy/multi_threaded_proxy_resolver.h"
#include <deque>
+#include <utility>
#include <vector>
#include "base/bind.h"
@@ -576,8 +577,8 @@ class MultiThreadedProxyResolverFactory::Job
int error = OK;
if (executor->resolver()) {
resolver_out_->reset(new MultiThreadedProxyResolver(
- resolver_factory_.Pass(), max_num_threads_, script_data_.Pass(),
- executor_));
+ std::move(resolver_factory_), max_num_threads_,
+ std::move(script_data_), executor_));
} else {
error = ERR_PAC_SCRIPT_FAILED;
executor_->Destroy();
« no previous file with comments | « net/cert/ct_objects_extractor_unittest.cc ('k') | net/ssl/client_key_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698