| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index a9c64e24d2088395b61eab8a367fcb2ba0fa64f2..e029bd84a8ba81032a1064b3e9a58d61c3555885 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -1132,8 +1132,8 @@
|
| if (via != APP_LOCALE_CHANGED_VIA_PUBLIC_SESSION_LOGIN)
|
| local_state->SetString(prefs::kApplicationLocale, new_locale);
|
|
|
| - if (user_manager::UserManager::Get()->GetOwnerAccountId() ==
|
| - chromeos::ProfileHelper::Get()->GetUserByProfile(this)->GetAccountId())
|
| + if (user_manager::UserManager::Get()->GetOwnerEmail() ==
|
| + chromeos::ProfileHelper::Get()->GetUserByProfile(this)->email())
|
| local_state->SetString(prefs::kOwnerLocale, new_locale);
|
| }
|
|
|
|
|