Index: remoting/host/ipc_util_win.cc |
diff --git a/remoting/host/ipc_util_win.cc b/remoting/host/ipc_util_win.cc |
index 37c3383087e1573b92a8eb4a4a44e0cd30fb1d45..327bcae4b381310ab8b366976a947ffc9d05cdb1 100644 |
--- a/remoting/host/ipc_util_win.cc |
+++ b/remoting/host/ipc_util_win.cc |
@@ -51,11 +51,11 @@ bool CreateConnectedIpcChannel( |
} |
// Wrap the pipe into an IPC channel. |
- scoped_ptr<IPC::ChannelProxy> server(new IPC::ChannelProxy( |
- IPC::ChannelHandle(pipe), |
- IPC::Channel::MODE_SERVER, |
- listener, |
- io_task_runner)); |
+ scoped_ptr<IPC::ChannelProxy> server = |
+ IPC::ChannelProxy::Create(IPC::ChannelHandle(pipe), |
+ IPC::Channel::MODE_SERVER, |
+ listener, |
+ io_task_runner); |
// Convert the channel name to the pipe name. |
std::string pipe_name(kChromePipeNamePrefix); |