| Index: remoting/host/plugin/host_script_object.cc
|
| diff --git a/remoting/host/plugin/host_script_object.cc b/remoting/host/plugin/host_script_object.cc
|
| index d86389958fb277e3aee60767c7836acf466c0e7d..8047efb38b45a81c5a0dea30c80d192c800959d1 100644
|
| --- a/remoting/host/plugin/host_script_object.cc
|
| +++ b/remoting/host/plugin/host_script_object.cc
|
| @@ -214,8 +214,8 @@ void HostNPScriptObject::It2MeImpl::Connect(
|
| }
|
|
|
| // Create the desktop environment factory.
|
| - desktop_environment_factory_.reset(new DesktopEnvironmentFactory(
|
| - host_context_->input_task_runner(), host_context_->ui_task_runner()));
|
| + desktop_environment_factory_.reset(
|
| + new DesktopEnvironmentFactory(host_context_->network_task_runner()));
|
|
|
| // Start monitoring configured policies.
|
| policy_watcher_.reset(
|
| @@ -366,9 +366,11 @@ void HostNPScriptObject::It2MeImpl::FinishConnect(
|
| CreateHostSessionManager(network_settings,
|
| host_context_->url_request_context_getter()),
|
| host_context_->audio_task_runner(),
|
| + host_context_->input_task_runner(),
|
| host_context_->video_capture_task_runner(),
|
| host_context_->video_encode_task_runner(),
|
| - host_context_->network_task_runner());
|
| + host_context_->network_task_runner(),
|
| + host_context_->ui_task_runner());
|
| host_->AddStatusObserver(this);
|
| log_to_server_.reset(
|
| new LogToServer(host_, ServerLogEntry::IT2ME, signal_strategy_.get()));
|
|
|