| Index: remoting/host/remoting_me2me_host.cc
|
| diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
|
| index d0a509698945c6e8cc02dfbe0d2070f9aa49f27f..db1a3f04a8d0a517ac17715e29c53162f4580e95 100644
|
| --- a/remoting/host/remoting_me2me_host.cc
|
| +++ b/remoting/host/remoting_me2me_host.cc
|
| @@ -527,15 +527,13 @@ bool HostProcess::InitWithCommandLine(const base::CommandLine* cmd_line) {
|
| #endif // defined(OS_POSIX)
|
|
|
| // Connect to the daemon process.
|
| - daemon_channel_ = IPC::ChannelProxy::Create(channel_handle,
|
| - IPC::Channel::MODE_CLIENT,
|
| - this,
|
| - context_->network_task_runner());
|
| -
|
| + daemon_channel_.reset(
|
| + new IPC::ChannelProxy(this, context_->network_task_runner()));
|
| IPC::AttachmentBrokerUnprivileged::CreateBrokerIfNeeded();
|
| IPC::AttachmentBroker* broker = IPC::AttachmentBroker::GetGlobal();
|
| if (broker && !broker->IsPrivilegedBroker())
|
| broker->RegisterBrokerCommunicationChannel(daemon_channel_.get());
|
| + daemon_channel_->Init(channel_handle, IPC::Channel::MODE_CLIENT, true);
|
|
|
| #else // !defined(REMOTING_MULTI_PROCESS)
|
| if (cmd_line->HasSwitch(kHostConfigSwitchName)) {
|
|
|