Commit 0bbb1b1f authored by mdm@chromium.org's avatar mdm@chromium.org

Don't do a default browser check when new tabs are opened via the command line.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/203001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25777 0039d316-1c4b-4281-b951-d872f2087c98
parent ba1daaf8
......@@ -467,7 +467,8 @@ bool BrowserInit::LaunchWithProfile::Launch(Profile* profile,
}
#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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment