Index: net/socket/socks5_client_socket_unittest.cc |
diff --git a/net/socket/socks5_client_socket_unittest.cc b/net/socket/socks5_client_socket_unittest.cc |
index 8919b3ac5b6a29795d157901956551c6b0e7fa57..c41c6b94ada093e4e90e0c302adf5329ee57da01 100644 |
--- a/net/socket/socks5_client_socket_unittest.cc |
+++ b/net/socket/socks5_client_socket_unittest.cc |
@@ -7,6 +7,7 @@ |
#include <algorithm> |
#include <iterator> |
#include <map> |
+#include <utility> |
#include "base/macros.h" |
#include "base/sys_byteorder.h" |
@@ -108,7 +109,7 @@ scoped_ptr<SOCKS5ClientSocket> SOCKS5ClientSocketTest::BuildMockSocket( |
// non-owning pointer to it. |
connection->SetSocket(scoped_ptr<StreamSocket>(tcp_sock_)); |
return scoped_ptr<SOCKS5ClientSocket>(new SOCKS5ClientSocket( |
- connection.Pass(), |
+ std::move(connection), |
HostResolver::RequestInfo(HostPortPair(hostname, port)))); |
} |