Index: remoting/host/chromoting_host.cc |
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc |
index ae5ef68124a7ac99cdb1660188d5c621bd263e72..f16985848e0a2d777454ad14ec5c5da953ec65c5 100644 |
--- a/remoting/host/chromoting_host.cc |
+++ b/remoting/host/chromoting_host.cc |
@@ -38,11 +38,11 @@ namespace remoting { |
ChromotingHost* ChromotingHost::Create(ChromotingHostContext* context, |
MutableHostConfig* config) { |
Capturer* capturer = Capturer::Create(); |
- InputStub* input_stub = CreateEventExecutor(context->ui_message_loop(), |
- capturer); |
+ EventExecutor* event_executor = |
+ EventExecutor::Create(context->ui_message_loop(), capturer); |
Curtain* curtain = Curtain::Create(); |
return Create(context, config, |
- new DesktopEnvironment(capturer, input_stub, curtain)); |
+ new DesktopEnvironment(capturer, event_executor, curtain)); |
} |
// static |
@@ -334,7 +334,7 @@ void ChromotingHost::OnNewClientSession( |
this, |
base::Bind(UserAuthenticator::Create), |
connection, |
- desktop_environment_->input_stub()); |
+ desktop_environment_->event_executor()); |
connection->set_host_stub(client); |
connection->set_input_stub(client); |