Index: chrome/browser/app_controller_mac.mm |
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm |
index 4acf0c682a3f801427de94d1a3b1bef5e4808402..0a8eac7d6c21d7fda23a7413dfa872753450a62b 100644 |
--- a/chrome/browser/app_controller_mac.mm |
+++ b/chrome/browser/app_controller_mac.mm |
@@ -19,6 +19,7 @@ |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/browser_shutdown.h" |
#include "chrome/browser/command_updater.h" |
+#include "chrome/browser/first_run/first_run.h" |
#include "chrome/browser/instant/instant_confirm_dialog.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/printing/cloud_print/virtual_driver_install_helper.h" |
@@ -1066,7 +1067,9 @@ const AEEventClass kAECloudPrintUninstallClass = 'GCPu'; |
} |
CommandLine dummy(CommandLine::NO_PROGRAM); |
- BrowserInit::LaunchWithProfile launch(FilePath(), dummy); |
+ BrowserInit::IsFirstRun first_run = FirstRun::IsChromeFirstRun() ? |
+ BrowserInit::IS_FIRST_RUN : BrowserInit::IS_NOT_FIRST_RUN; |
+ BrowserInit::LaunchWithProfile launch(FilePath(), dummy, first_run); |
launch.OpenURLsInBrowser(browser, false, urls); |
} |