diff options
Diffstat (limited to 'remoting/host/ipc_util_posix.cc')
-rw-r--r-- | remoting/host/ipc_util_posix.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/remoting/host/ipc_util_posix.cc b/remoting/host/ipc_util_posix.cc index 0b423cd..d7c6a5d 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 = IPC::ChannelProxy::CreateServer( - IPC::ChannelHandle(socket_name, fd), - listener, - io_task_runner.get()); + server_out->reset(new IPC::ChannelProxy(IPC::ChannelHandle(socket_name, fd), + IPC::Channel::MODE_SERVER, + listener, + io_task_runner.get())); *client_out = base::FileDescriptor(pipe_fds[1], false); return true; |