| 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 94a0929f23a74a9965d8f776095cd9a86ebc1d53..fe7820f7b57e6d0c35587ee190d272f4e8107583 100644
|
| --- a/chrome/browser/ui/webui/options/manage_profile_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc
|
| @@ -335,7 +335,10 @@ void ManageProfileHandler::SwitchAppListProfile(const ListValue* args) {
|
| !base::GetValueAsFilePath(*file_path_value, &profile_file_path))
|
| return;
|
|
|
| - AppListService::Get()->SetAppListProfile(profile_file_path);
|
| + AppListService* app_list_service = AppListService::Get();
|
| + app_list_service->SetProfilePath(profile_file_path);
|
| + app_list_service->ShowForSavedProfile();
|
| +
|
| // Close the settings app, since it will now be for the wrong profile.
|
| web_ui()->GetWebContents()->Close();
|
| }
|
|
|