diff options
Diffstat (limited to 'net/socket/ssl_server_socket_unittest.cc')
-rw-r--r-- | net/socket/ssl_server_socket_unittest.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/socket/ssl_server_socket_unittest.cc b/net/socket/ssl_server_socket_unittest.cc index c6937b9..1419f5c 100644 --- a/net/socket/ssl_server_socket_unittest.cc +++ b/net/socket/ssl_server_socket_unittest.cc @@ -17,8 +17,8 @@ #include <stdint.h> #include <stdlib.h> - #include <queue> +#include <utility> #include "base/compiler_specific.h" #include "base/files/file_path.h" @@ -348,9 +348,10 @@ class SSLServerSocketTest : public PlatformTest { context.cert_verifier = cert_verifier_.get(); context.transport_security_state = transport_security_state_.get(); client_socket_ = socket_factory_->CreateSSLClientSocket( - client_connection.Pass(), host_and_pair, client_ssl_config_, context); + std::move(client_connection), host_and_pair, client_ssl_config_, + context); server_socket_ = - CreateSSLServerSocket(server_socket.Pass(), cert.get(), + CreateSSLServerSocket(std::move(server_socket), cert.get(), private_key.get(), server_ssl_config_); } |