Index: remoting/host/win/wts_session_process_delegate.cc |
diff --git a/remoting/host/win/wts_session_process_delegate.cc b/remoting/host/win/wts_session_process_delegate.cc |
index f939abf8987afb0db9306638b368313652704220..eb310df2c64b68cf9bac063dbe872d6b37295ebf 100644 |
--- a/remoting/host/win/wts_session_process_delegate.cc |
+++ b/remoting/host/win/wts_session_process_delegate.cc |
@@ -379,11 +379,11 @@ void WtsSessionProcessDelegate::Core::DoLaunchProcess() { |
} |
// Wrap the pipe into an IPC channel. |
- scoped_ptr<IPC::ChannelProxy> channel(new IPC::ChannelProxy( |
- IPC::ChannelHandle(pipe), |
- IPC::Channel::MODE_SERVER, |
- this, |
- io_task_runner_)); |
+ scoped_ptr<IPC::ChannelProxy> channel( |
+ IPC::ChannelProxy::Create(IPC::ChannelHandle(pipe), |
+ IPC::Channel::MODE_SERVER, |
+ this, |
+ io_task_runner_)); |
// Pass the name of the IPC channel to use. |
command_line.AppendSwitchNative(kDaemonPipeSwitchName, |