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 3e8c117214f08a4cff98ed497278294b03dacb44..2c4c5abe1a6d55b1f663df4de0b9c25912acf684 100644 |
--- a/chrome/browser/chromeos/login/login_utils.cc |
+++ b/chrome/browser/chromeos/login/login_utils.cc |
@@ -1346,13 +1346,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); |