| Index: remoting/host/simple_host_process.cc
|
| diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc
|
| index 744e1003c946f042e33a9ceaf0643e429ca01f9c..d998ef9c335bf4ffe8c6a57bd127c23eca2d4239 100644
|
| --- a/remoting/host/simple_host_process.cc
|
| +++ b/remoting/host/simple_host_process.cc
|
| @@ -133,12 +133,12 @@ int main(int argc, char** argv) {
|
| context.Start();
|
|
|
| // Construct a chromoting host.
|
| - scoped_refptr<remoting::ChromotingHost> host =
|
| + scoped_refptr<remoting::ChromotingHost> host(
|
| new remoting::ChromotingHost(&context,
|
| config,
|
| capturer.release(),
|
| encoder.release(),
|
| - event_handler.release());
|
| + event_handler.release()));
|
|
|
| // Let the chromoting host run until the shutdown task is executed.
|
| MessageLoop message_loop(MessageLoop::TYPE_UI);
|
|
|