Index: trunk/src/remoting/host/desktop_process.cc |
=================================================================== |
--- trunk/src/remoting/host/desktop_process.cc (revision 274314) |
+++ trunk/src/remoting/host/desktop_process.cc (working copy) |
@@ -139,10 +139,10 @@ |
} |
// Connect to the daemon. |
- daemon_channel_ = IPC::ChannelProxy::CreateClient( |
- daemon_channel_name_, |
- this, |
- io_task_runner.get()); |
+ daemon_channel_.reset(new IPC::ChannelProxy(daemon_channel_name_, |
+ IPC::Channel::MODE_CLIENT, |
+ this, |
+ io_task_runner.get())); |
// Pass |desktop_pipe| to the daemon. |
daemon_channel_->Send( |