summaryrefslogtreecommitdiffstats
path: root/remoting/host/simple_host_process.cc
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-13 19:26:21 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-13 19:26:21 +0000
commit00b0e0048bacda3600b47ccb09fb24712e93a145 (patch)
tree5dc227c8cdd77afd62c1cca6143626170eb71403 /remoting/host/simple_host_process.cc
parent8b740120a98dea710146d8a0ec2bc8062a673128 (diff)
downloadchromium_src-00b0e0048bacda3600b47ccb09fb24712e93a145.zip
chromium_src-00b0e0048bacda3600b47ccb09fb24712e93a145.tar.gz
chromium_src-00b0e0048bacda3600b47ccb09fb24712e93a145.tar.bz2
Don't use MessageLoop or MessageLoopProxy in EventExecutor.
Review URL: https://chromiumcodereview.appspot.com/10539056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141936 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/simple_host_process.cc')
-rw-r--r--remoting/host/simple_host_process.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc
index 58e3c5d..53cd897 100644
--- a/remoting/host/simple_host_process.cc
+++ b/remoting/host/simple_host_process.cc
@@ -222,10 +222,9 @@ class SimpleHost : public HeartbeatSender::Listener {
if (fake_) {
scoped_ptr<Capturer> capturer(new CapturerFake());
- scoped_ptr<EventExecutor> event_executor =
- EventExecutor::Create(context_.desktop_message_loop(),
- context_.ui_message_loop(),
- capturer.get());
+ scoped_ptr<EventExecutor> event_executor = EventExecutor::Create(
+ context_.desktop_message_loop()->message_loop_proxy(),
+ context_.ui_message_loop(), capturer.get());
desktop_environment_ = DesktopEnvironment::CreateFake(
&context_, capturer.Pass(), event_executor.Pass());
} else {