Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: remoting/host/plugin/host_script_object.cc

Issue 11761019: Tiny little refactoring of DesktopEnvironment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/mouse_clamping_filter.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()));
« no previous file with comments | « remoting/host/mouse_clamping_filter.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698