Chromium Code Reviews| Index: remoting/host/desktop_environment.cc |
| diff --git a/remoting/host/desktop_environment.cc b/remoting/host/desktop_environment.cc |
| index 14e770e6b493987a43031d85b81e5c5ed4249e18..8377ac755792b48993eff76963a6b401cc28e84c 100644 |
| --- a/remoting/host/desktop_environment.cc |
| +++ b/remoting/host/desktop_environment.cc |
| @@ -188,7 +188,7 @@ void DesktopEnvironment::ShowContinueWindow(bool show) { |
| void DesktopEnvironment::StartContinueWindowTimer(bool start) { |
| DCHECK(context_->IsUIThread()); |
| - if (start && ! continue_timer_started_) { |
| + if (start && !continue_timer_started_) { |
| continue_timer_target_time_ = base::Time::Now() + |
| base::TimeDelta::FromMilliseconds(kContinueWindowTimeoutMs); |
| proxy_->CallOnUIThreadDelayed( |
| @@ -208,6 +208,7 @@ void DesktopEnvironment::ContinueWindowTimerFunc() { |
| if (continue_timer_target_time_ > base::Time::Now()) |
| return; |
| + continue_timer_started_ = false; |
|
Jamie
2011/08/12 23:11:30
D'oh!
|
| host_->PauseSession(true); |
| ShowContinueWindow(true); |
| } |