Index: chrome/browser/ui/app_list/app_list_service.cc |
diff --git a/chrome/browser/ui/app_list/app_list_service.cc b/chrome/browser/ui/app_list/app_list_service.cc |
index 9c1484cc2c2cb14c3e4d2971abb3f6a5e99973d6..0d827be8ae9f566f6d082c72ae2c17321fc49d14 100644 |
--- a/chrome/browser/ui/app_list/app_list_service.cc |
+++ b/chrome/browser/ui/app_list/app_list_service.cc |
@@ -10,6 +10,7 @@ |
#include "base/process/process_info.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/time/time.h" |
+#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
@@ -160,7 +161,7 @@ void AppListService::RegisterPrefs(PrefRegistrySimple* registry) { |
bool AppListService::HandleLaunchCommandLine( |
const base::CommandLine& command_line, |
Profile* launch_profile) { |
- InitAll(launch_profile); |
+ InitAll(launch_profile, launch_profile->GetPath()); |
if (!command_line.HasSwitch(switches::kShowAppList)) |
return false; |