diff options
-rw-r--r-- | chrome/browser/chromeos/login/webui_login_display_host.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/chromeos/login/webui_login_display_host.cc b/chrome/browser/chromeos/login/webui_login_display_host.cc index f244ac1..cef287154 100644 --- a/chrome/browser/chromeos/login/webui_login_display_host.cc +++ b/chrome/browser/chromeos/login/webui_login_display_host.cc @@ -209,6 +209,10 @@ void WebUILoginDisplayHost::Observe( ShowWebUI(); else StartPostponedWebUI(); + // StartWizard / StartSignInScreen could be called multiple times through + // the lifetime of host. + // Make sure that subsequent calls are not postponed. + waiting_for_wallpaper_load_ = false; } registrar_.Remove(this, chrome::NOTIFICATION_WALLPAPER_ANIMATION_FINISHED, @@ -319,10 +323,6 @@ void WebUILoginDisplayHost::StartPostponedWebUI() { return; } - // StartWizard / StartSignInScreen could be called multiple times through - // the lifetime of host. Make sure that subsequent calls are not postponed. - waiting_for_wallpaper_load_ = false; - // Wallpaper has finished loading before StartWizard/StartSignInScreen has // been called. In general this should not happen. // Let go through normal code path when one of those will be called. |