| Index: chrome/browser/chrome_browser_main_mac.mm
|
| diff --git a/chrome/browser/chrome_browser_main_mac.mm b/chrome/browser/chrome_browser_main_mac.mm
|
| index 3d41c65528f70eac05f7fbf57f81dd023ae72741..07f250ca5e501771105b3b6a1b777fd281f6229a 100644
|
| --- a/chrome/browser/chrome_browser_main_mac.mm
|
| +++ b/chrome/browser/chrome_browser_main_mac.mm
|
| @@ -229,7 +229,7 @@ void ChromeBrowserMainPartsMac::PreMainMessageLoopStart() {
|
| [[KeystoneGlue defaultKeystoneGlue] registerWithKeystone];
|
|
|
| // Disk image installation is sort of a first-run task, so it shares the
|
| - // kNoFirstRun switch.
|
| + // no first run switches.
|
| //
|
| // This needs to be done after the resource bundle is initialized (for
|
| // access to localizations in the UI) and after Keystone is initialized
|
| @@ -240,7 +240,7 @@ void ChromeBrowserMainPartsMac::PreMainMessageLoopStart() {
|
| // anyone tries doing anything silly like firing off an import job, and
|
| // before anything creating preferences like Local State in order for the
|
| // relaunched installed application to still consider itself as first-run.
|
| - if (!parsed_command_line().HasSwitch(switches::kNoFirstRun)) {
|
| + if (!first_run::IsFirstRunSuppressed(parsed_command_line())) {
|
| if (MaybeInstallFromDiskImage()) {
|
| // The application was installed and the installed copy has been
|
| // launched. This process is now obsolete. Exit.
|
|
|