diff options
Diffstat (limited to 'remoting/host/simple_host_process.cc')
-rw-r--r-- | remoting/host/simple_host_process.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc index e28c1c0..a0cebf57 100644 --- a/remoting/host/simple_host_process.cc +++ b/remoting/host/simple_host_process.cc @@ -33,6 +33,7 @@ #include "remoting/host/capturer_fake.h" #include "remoting/host/chromoting_host.h" #include "remoting/host/chromoting_host_context.h" +#include "remoting/host/curtain.h" #include "remoting/host/desktop_environment.h" #include "remoting/host/event_executor.h" #include "remoting/host/json_host_config.h" @@ -132,8 +133,10 @@ int main(int argc, char** argv) { new remoting::CapturerFake(); remoting::protocol::InputStub* input_stub = CreateEventExecutor(context.ui_message_loop(), capturer); + remoting::Curtain* curtain = remoting::Curtain::Create(); host = ChromotingHost::Create( - &context, config, new DesktopEnvironment(capturer, input_stub)); + &context, config, + new DesktopEnvironment(capturer, input_stub, curtain)); } else { host = ChromotingHost::Create(&context, config); } |