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

Unified Diff: net/socket/client_socket_factory.cc

Issue 1586833002: Convert Pass()→std::move() for iOS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert accidental //base change Created 4 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
« no previous file with comments | « net/quic/test_tools/crypto_test_utils_chromium.cc ('k') | net/socket/nss_ssl_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/client_socket_factory.cc
diff --git a/net/socket/client_socket_factory.cc b/net/socket/client_socket_factory.cc
index cc2a243c91aa2494a33337010b2c98a8c02d4ebc..311f926b59fcefdc3f2c9be276d025c0251dfcd3 100644
--- a/net/socket/client_socket_factory.cc
+++ b/net/socket/client_socket_factory.cc
@@ -76,7 +76,7 @@ class DefaultClientSocketFactory : public ClientSocketFactory,
std::move(transport_socket), host_and_port, ssl_config, context));
#else
return scoped_ptr<SSLClientSocket>(new SSLClientSocketNSS(
- transport_socket.Pass(), host_and_port, ssl_config, context));
+ std::move(transport_socket), host_and_port, ssl_config, context));
#endif
}
« no previous file with comments | « net/quic/test_tools/crypto_test_utils_chromium.cc ('k') | net/socket/nss_ssl_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698