| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index be6d07a9e7d3dd88f8f264e0095da4ba504baa93..a7ab71bdabbaac2a2ebaee63bf71f0d85865626f 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -1143,7 +1143,8 @@ void ProfileImpl::ChangeAppLocale(
|
| GetPrefs()->SetString(prefs::kApplicationLocale, new_locale);
|
| local_state->SetString(prefs::kApplicationLocale, new_locale);
|
|
|
| - if (chromeos::UserManager::Get()->IsCurrentUserOwner())
|
| + if (chromeos::UserManager::Get()->GetOwnerEmail() ==
|
| + chromeos::UserManager::Get()->GetUserByProfile(this)->email())
|
| local_state->SetString(prefs::kOwnerLocale, new_locale);
|
| }
|
|
|
|
|