| Index: mojo/services/network/tcp_bound_socket_impl.cc
|
| diff --git a/mojo/services/network/tcp_bound_socket_impl.cc b/mojo/services/network/tcp_bound_socket_impl.cc
|
| index b7763045677124d6bd520b45467a5a47e23d51a1..31fd54da2a2b3b633400e16c266a1b2d9dee038a 100644
|
| --- a/mojo/services/network/tcp_bound_socket_impl.cc
|
| +++ b/mojo/services/network/tcp_bound_socket_impl.cc
|
| @@ -12,7 +12,8 @@
|
|
|
| namespace mojo {
|
|
|
| -TCPBoundSocketImpl::TCPBoundSocketImpl() {
|
| +TCPBoundSocketImpl::TCPBoundSocketImpl(InterfaceRequest<TCPBoundSocket> request)
|
| + : binding_(this, request.Pass()) {
|
| }
|
|
|
| TCPBoundSocketImpl::~TCPBoundSocketImpl() {
|
| @@ -63,7 +64,7 @@ void TCPBoundSocketImpl::StartListening(
|
| }
|
|
|
| // The server socket object takes ownership of the socket.
|
| - BindToRequest(new TCPServerSocketImpl(socket_.Pass()), &server);
|
| + new TCPServerSocketImpl(server.Pass(), socket_.Pass());
|
| callback.Run(MakeNetworkError(net::OK));
|
| }
|
|
|
|
|