Index: remoting/host/gnubby_auth_handler_posix.cc |
diff --git a/remoting/host/gnubby_auth_handler_posix.cc b/remoting/host/gnubby_auth_handler_posix.cc |
index a3d67dbafba8a02a66c316bf5c0baf4f39780ad8..5592b3a95ffbcad55c96dadc8aeb8ebd56c4c74b 100644 |
--- a/remoting/host/gnubby_auth_handler_posix.cc |
+++ b/remoting/host/gnubby_auth_handler_posix.cc |
@@ -210,7 +210,7 @@ void GnubbyAuthHandlerPosix::OnAccepted(int result) { |
int connection_id = ++last_connection_id_; |
GnubbySocket* socket = |
- new GnubbySocket(accept_socket_.Pass(), request_timeout_, |
+ new GnubbySocket(std::move(accept_socket_), request_timeout_, |
base::Bind(&GnubbyAuthHandlerPosix::RequestTimedOut, |
base::Unretained(this), connection_id)); |
active_sockets_[connection_id] = socket; |