Index: remoting/host/simple_host_process.cc |
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc |
index a0cebf57ff45d32d6e355bd756a6c70b11b8e60b..7c3a595cb7622763e1909eb3a0b18f5926de6470 100644 |
--- a/remoting/host/simple_host_process.cc |
+++ b/remoting/host/simple_host_process.cc |
@@ -131,12 +131,12 @@ int main(int argc, char** argv) { |
if (fake) { |
remoting::Capturer* capturer = |
new remoting::CapturerFake(); |
- remoting::protocol::InputStub* input_stub = |
- CreateEventExecutor(context.ui_message_loop(), capturer); |
+ remoting::EventExecutor* event_executor = |
+ remoting::EventExecutor::Create(context.ui_message_loop(), capturer); |
remoting::Curtain* curtain = remoting::Curtain::Create(); |
host = ChromotingHost::Create( |
&context, config, |
- new DesktopEnvironment(capturer, input_stub, curtain)); |
+ new DesktopEnvironment(capturer, event_executor, curtain)); |
} else { |
host = ChromotingHost::Create(&context, config); |
} |