| Index: chrome/browser/browser_init.cc
|
| ===================================================================
|
| --- chrome/browser/browser_init.cc (revision 25674)
|
| +++ chrome/browser/browser_init.cc (working copy)
|
| @@ -467,7 +467,8 @@
|
| }
|
| #endif
|
| // Check whether we are the default browser.
|
| - if (!command_line_.HasSwitch(switches::kNoDefaultBrowserCheck))
|
| + if (process_startup &&
|
| + !command_line_.HasSwitch(switches::kNoDefaultBrowserCheck))
|
| CheckDefaultBrowser(profile);
|
| } else {
|
| RecordLaunchModeHistogram(LM_AS_WEBAPP);
|
|
|