| Index: net/socket/tcp_socket_win.cc
|
| diff --git a/net/socket/tcp_socket_win.cc b/net/socket/tcp_socket_win.cc
|
| index 827dd72f340edacfca54e9fed6c89d1f9ff0177e..0d11a0d74438f07ca8af6cb14165fd16889e60bb 100644
|
| --- a/net/socket/tcp_socket_win.cc
|
| +++ b/net/socket/tcp_socket_win.cc
|
| @@ -8,6 +8,8 @@
|
| #include <errno.h>
|
| #include <mstcpip.h>
|
|
|
| +#include <utility>
|
| +
|
| #include "base/callback_helpers.h"
|
| #include "base/files/file_util.h"
|
| #include "base/logging.h"
|
| @@ -704,7 +706,7 @@ int TCPSocketWin::AcceptInternal(scoped_ptr<TCPSocketWin>* socket,
|
| net_log_.EndEventWithNetErrorCode(NetLog::TYPE_TCP_ACCEPT, adopt_result);
|
| return adopt_result;
|
| }
|
| - *socket = tcp_socket.Pass();
|
| + *socket = std::move(tcp_socket);
|
| *address = ip_end_point;
|
| net_log_.EndEvent(NetLog::TYPE_TCP_ACCEPT,
|
| CreateNetLogIPEndPointCallback(&ip_end_point));
|
|
|