diff options
Diffstat (limited to 'remoting/host/simple_host_process.cc')
-rw-r--r-- | remoting/host/simple_host_process.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc index f06ba79..270d114 100644 --- a/remoting/host/simple_host_process.cc +++ b/remoting/host/simple_host_process.cc @@ -217,14 +217,12 @@ class SimpleHost { desktop_environment_.get(), network_settings_); host_->set_it2me(is_it2me_); - log_to_server_.reset(new LogToServer(signal_strategy_.get())); - host_->AddStatusObserver(log_to_server_.get()); + log_to_server_.reset(new LogToServer(host_, signal_strategy_.get())); if (is_it2me_) { it2me_host_user_interface_.reset( new It2MeHostUserInterface(host_, &context_)); it2me_host_user_interface_->Init(); - host_->AddStatusObserver(it2me_host_user_interface_.get()); } if (protocol_config_.get()) { |