Index: chrome/browser/chromeos/login/login_utils.cc |
diff --git a/chrome/browser/chromeos/login/login_utils.cc b/chrome/browser/chromeos/login/login_utils.cc |
index 899965f930826bf75eb2c75779c1cf480ce8e221..cbfb81482bdc0abd1ae5b745203c06a7734f08c1 100644 |
--- a/chrome/browser/chromeos/login/login_utils.cc |
+++ b/chrome/browser/chromeos/login/login_utils.cc |
@@ -1340,13 +1340,10 @@ void LoginUtils::DoBrowserLaunch(Profile* profile, |
StatusAreaViewChromeos::SetScreenMode(StatusAreaViewChromeos::BROWSER_MODE); |
if (login_host) { |
+ // Enable status area now as the login window may be destructed anytime |
+ // after LaunchBrowser. |
login_host->SetStatusAreaVisible(true); |
login_host->SetStatusAreaEnabled(true); |
-#if defined(USE_AURA) |
- // Close lock window now so that the launched browser can receive focus. |
- // TODO(oshima): Implement hide animation for lock screens. |
- login_host->CloseWindow(); |
-#endif |
} |
BootTimesLoader::Get()->AddLoginTimeMarker("BrowserLaunched", false); |