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 285fd847c5ec614c4a57905d16bc04d7d3a17b7e..23d0aac82e34ac73e16414060e30372911b69f70 100644 |
--- a/remoting/host/gnubby_auth_handler_posix.cc |
+++ b/remoting/host/gnubby_auth_handler_posix.cc |
@@ -209,7 +209,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; |