| 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 3ed976e2c30f0c9b0fe7a0c95b15e73968743156..70511ec754444fa6b57d22edfd3b64251c400432 100644
|
| --- a/chrome/browser/ui/app_list/app_list_service_impl.cc
|
| +++ b/chrome/browser/ui/app_list/app_list_service_impl.cc
|
| @@ -297,9 +297,8 @@ void AppListServiceImpl::SetAppListNextPaintCallback(void (*callback)()) {}
|
|
|
| void AppListServiceImpl::Init(Profile* initial_profile) {}
|
|
|
| -base::FilePath AppListServiceImpl::GetProfilePath(
|
| - const base::FilePath& user_data_dir) {
|
| - return user_data_dir.AppendASCII(GetProfileName());
|
| +base::FilePath AppListServiceImpl::GetProfilePath() {
|
| + return profile_store_->GetUserDataDir().AppendASCII(GetProfileName());
|
| }
|
|
|
| void AppListServiceImpl::SetProfilePath(const base::FilePath& profile_path) {
|
| @@ -361,9 +360,8 @@ void AppListServiceImpl::OnProfileWillBeRemoved(
|
|
|
| void AppListServiceImpl::Show() {
|
| profile_loader_->LoadProfileInvalidatingOtherLoads(
|
| - GetProfilePath(profile_store_->GetUserDataDir()),
|
| - base::Bind(&AppListServiceImpl::ShowForProfile,
|
| - weak_factory_.GetWeakPtr()));
|
| + GetProfilePath(), base::Bind(&AppListServiceImpl::ShowForProfile,
|
| + weak_factory_.GetWeakPtr()));
|
| }
|
|
|
| void AppListServiceImpl::ShowForVoiceSearch(
|
|
|