Index: chrome/browser/ui/app_list/app_list_service_mac.mm |
diff --git a/chrome/browser/ui/app_list/app_list_service_mac.mm b/chrome/browser/ui/app_list/app_list_service_mac.mm |
index fd5986eef68a1da2c5b6a9756a054289967e55f7..f703c82d7533861a003a8282bb07d12495c51fe5 100644 |
--- a/chrome/browser/ui/app_list/app_list_service_mac.mm |
+++ b/chrome/browser/ui/app_list/app_list_service_mac.mm |
@@ -347,7 +347,7 @@ void AppListServiceMac::Init(Profile* initial_profile) { |
static bool init_called_with_profile = false; |
if (initial_profile && !init_called_with_profile) { |
init_called_with_profile = true; |
- HandleCommandLineFlags(initial_profile); |
+ PerformStartupChecks(initial_profile); |
PrefService* local_state = g_browser_process->local_state(); |
if (!IsAppLauncherEnabled()) { |
local_state->SetInteger(prefs::kAppLauncherShortcutVersion, 0); |
@@ -442,8 +442,9 @@ bool AppListServiceMac::IsAppListVisible() const { |
![animation_controller_ isClosing]; |
} |
-void AppListServiceMac::EnableAppList(Profile* initial_profile) { |
- AppListServiceImpl::EnableAppList(initial_profile); |
+void AppListServiceMac::EnableAppList(Profile* initial_profile, |
+ AppListEnableSource enable_source) { |
+ AppListServiceImpl::EnableAppList(initial_profile, enable_source); |
AppController* controller = [NSApp delegate]; |
[controller initAppShimMenuController]; |
} |