| Index: remoting/host/ipc_util_posix.cc
|
| diff --git a/remoting/host/ipc_util_posix.cc b/remoting/host/ipc_util_posix.cc
|
| index d7c6a5d894988d47e98faf4c3dc8a3366ac46920..0b423cde81cc573a435a2c393cd5a09939917106 100644
|
| --- a/remoting/host/ipc_util_posix.cc
|
| +++ b/remoting/host/ipc_util_posix.cc
|
| @@ -45,10 +45,10 @@ bool CreateConnectedIpcChannel(
|
| // Wrap the pipe into an IPC channel.
|
| base::FileDescriptor fd(pipe_fds[0], false);
|
| IPC::ChannelHandle handle(socket_name, fd);
|
| - server_out->reset(new IPC::ChannelProxy(IPC::ChannelHandle(socket_name, fd),
|
| - IPC::Channel::MODE_SERVER,
|
| - listener,
|
| - io_task_runner.get()));
|
| + *server_out = IPC::ChannelProxy::CreateServer(
|
| + IPC::ChannelHandle(socket_name, fd),
|
| + listener,
|
| + io_task_runner.get());
|
|
|
| *client_out = base::FileDescriptor(pipe_fds[1], false);
|
| return true;
|
|
|