| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index bea6effd1694f797bdce609619d2ba4e515977f3..782dee8ec65bf82728e967540c8fd2c6d86cded8 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -1198,7 +1198,7 @@ void ProfileImpl::ChangeAppLocale(
|
| GetPrefs()->SetString(prefs::kApplicationLocale, new_locale);
|
| local_state->SetString(prefs::kApplicationLocale, new_locale);
|
|
|
| - if (chromeos::UserManager::Get()->IsCurrentUserOwner())
|
| + if (chromeos::ProfileHelper::IsProfileOwner(this))
|
| local_state->SetString(prefs::kOwnerLocale, new_locale);
|
| }
|
|
|
|
|