Index: remoting/host/remoting_me2me_host.cc |
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc |
index 60a1dfad395fdff9765ba0d17691e087b1cc7389..50b056884be7ce08884fee955ea98365e5b150c2 100644 |
--- a/remoting/host/remoting_me2me_host.cc |
+++ b/remoting/host/remoting_me2me_host.cc |
@@ -343,9 +343,11 @@ bool HostProcess::InitWithCommandLine(const CommandLine* cmd_line) { |
std::string channel_name = |
cmd_line->GetSwitchValueASCII(kDaemonPipeSwitchName); |
if (!channel_name.empty()) { |
- daemon_channel_.reset(new IPC::ChannelProxy( |
- channel_name, IPC::Channel::MODE_CLIENT, this, |
- context_->network_task_runner())); |
+ daemon_channel_.reset( |
+ new IPC::ChannelProxy(channel_name, |
+ IPC::Channel::MODE_CLIENT, |
+ this, |
+ context_->network_task_runner().get())); |
} |
base::FilePath default_config_dir = remoting::GetConfigDir(); |