summaryrefslogtreecommitdiffstats
path: root/remoting/host/simple_host_process.cc
diff options
context:
space:
mode:
authorwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-10 03:56:43 +0000
committerwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-10 03:56:43 +0000
commitc696e71dd0d35fd098e3a18d4d609cca19271473 (patch)
treee663dce4368b172efb7e9d607666d703ee9b56dc /remoting/host/simple_host_process.cc
parentb6910e8e8f47a1bc7881e60871d2808f1c768eb1 (diff)
downloadchromium_src-c696e71dd0d35fd098e3a18d4d609cca19271473.zip
chromium_src-c696e71dd0d35fd098e3a18d4d609cca19271473.tar.gz
chromium_src-c696e71dd0d35fd098e3a18d4d609cca19271473.tar.bz2
Remove ChromotingHostContext from [It2Me]HostUserInterface.
BUG=145856 Review URL: https://chromiumcodereview.appspot.com/11040029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/simple_host_process.cc')
-rw-r--r--remoting/host/simple_host_process.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc
index 55291c9..1b5b658 100644
--- a/remoting/host/simple_host_process.cc
+++ b/remoting/host/simple_host_process.cc
@@ -281,7 +281,9 @@ class SimpleHost : public HeartbeatSender::Listener {
log_to_server_.reset(new LogToServer(host_, mode, signal_strategy_.get()));
if (is_it2me_) {
- it2me_host_user_interface_.reset(new It2MeHostUserInterface(&context_));
+ it2me_host_user_interface_.reset(
+ new It2MeHostUserInterface(context_.network_task_runner(),
+ context_.ui_task_runner()));
it2me_host_user_interface_->Start(
host_,
base::Bind(&ChromotingHost::Shutdown, host_, base::Closure()));