Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2274)

Unified Diff: remoting/host/desktop_environment.cc

Issue 7650003: Fix up confirmation window not reshowing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698