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