Index: chrome/browser/ui/webui/options/manage_profile_handler.cc |
diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.cc b/chrome/browser/ui/webui/options/manage_profile_handler.cc |
index b19cb7e56a1a74d8418e7a2ee1f5f206ed82db36..07d00ca199aace182ad583f65e7b1d5b5bbfb692 100644 |
--- a/chrome/browser/ui/webui/options/manage_profile_handler.cc |
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc |
@@ -29,7 +29,7 @@ |
#include "ui/webui/web_ui_util.h" |
#if defined(ENABLE_SETTINGS_APP) |
-#include "chrome/browser/ui/app_list/app_list_util.h" |
+#include "chrome/browser/ui/app_list/app_list_service.h" |
#include "content/public/browser/web_contents.h" |
#endif |
@@ -318,7 +318,7 @@ void ManageProfileHandler::SwitchAppListProfile(const ListValue* args) { |
!base::GetValueAsFilePath(*file_path_value, &profile_file_path)) |
return; |
- chrome::SetAppListProfile(profile_file_path); |
+ AppListService::Get()->SetAppListProfile(profile_file_path); |
// Close the settings app, since it will now be for the wrong profile. |
web_ui()->GetWebContents()->Close(); |
} |