Index: chrome/browser/ui/app_list/app_list_service_impl.cc |
diff --git a/chrome/browser/ui/app_list/app_list_service_impl.cc b/chrome/browser/ui/app_list/app_list_service_impl.cc |
index 97acf8a512f13d33c44b7691481ef8f42319b26a..043da34896f22c3d8a14cce14981d3f0535f6bdb 100644 |
--- a/chrome/browser/ui/app_list/app_list_service_impl.cc |
+++ b/chrome/browser/ui/app_list/app_list_service_impl.cc |
@@ -273,11 +273,11 @@ void AppListServiceImpl::InvalidatePendingProfileLoads() { |
} |
void AppListServiceImpl::HandleCommandLineFlags(Profile* initial_profile) { |
- if (command_line_.HasSwitch(switches::kEnableAppList)) |
- EnableAppList(initial_profile); |
- |
if (command_line_.HasSwitch(switches::kResetAppListInstallState)) |
local_state_->SetBoolean(prefs::kAppLauncherHasBeenEnabled, false); |
+ |
+ if (command_line_.HasSwitch(switches::kEnableAppList)) |
+ EnableAppList(initial_profile); |
} |
void AppListServiceImpl::SendUsageStats() { |