Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc |
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
index 9ea079f53d99aac2954565d3968c24ca1fd45c72..58feee19bf66e8693c3e579d3809e84123bd8e3a 100644 |
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
@@ -845,7 +845,8 @@ void StartupBrowserCreatorImpl::AddInfoBarsIfNecessary( |
return; |
if (HasPendingUncleanExit(browser->profile())) { |
- if (!command_line_.HasSwitch(switches::kEnableSessionCrashedBubble) || |
+ if (!CommandLine::ForCurrentProcess()->HasSwitch( |
Alexei Svitkine (slow)
2014/05/14 14:09:57
Is there a reason you're changing this part?
yao
2014/05/14 14:53:28
yes,
In the situation where there are multiple pro
Alexei Svitkine (slow)
2014/05/14 15:02:54
That's very surprising. Can you do a little invest
yao
2014/05/14 21:00:26
I believe here is the cause: https://code.google.c
|
+ switches::kEnableSessionCrashedBubble) || |
!ShowSessionCrashedBubble(browser)) |
SessionCrashedInfoBarDelegate::Create(browser); |
} |