| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index 44cf1980f8c3fcdbcdb2ec2bd373a5a6ea42b6be..a2f914b362d8e4626dfe7b0cea641c0825d5efdf 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::IsOwnerProfile(this))
|
| local_state->SetString(prefs::kOwnerLocale, new_locale);
|
| }
|
|
|
|
|