summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_init.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_init.cc')
-rw-r--r--chrome/browser/browser_init.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc
index 97a7743..e9c2087 100644
--- a/chrome/browser/browser_init.cc
+++ b/chrome/browser/browser_init.cc
@@ -460,7 +460,8 @@ bool BrowserInit::LaunchBrowser(
}
#endif
- if (command_line.HasSwitch(switches::kRestoreBackgroundContents)) {
+ if (command_line.HasSwitch(switches::kRestoreBackgroundContents) ||
+ command_line.HasSwitch(switches::kKeepAliveForTest)) {
// Create status icons
StatusTrayManager* tray = g_browser_process->status_tray_manager();
if (tray)