Index: remoting/host/ipc_util_posix.cc |
diff --git a/remoting/host/ipc_util_posix.cc b/remoting/host/ipc_util_posix.cc |
index 4901c998cf265b3384542cace92e1b37820a51c9..b0cee30859fe1370fc8dd5fdc27a134d7d25a9ec 100644 |
--- a/remoting/host/ipc_util_posix.cc |
+++ b/remoting/host/ipc_util_posix.cc |
@@ -46,10 +46,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), |
+ *server_out = IPC::ChannelProxy::Create(IPC::ChannelHandle(socket_name, fd), |
IPC::Channel::MODE_SERVER, |
listener, |
- io_task_runner.get())); |
+ io_task_runner.get()); |
*client_out = base::File(pipe_fds[1]); |
return true; |