Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5247)

Unified Diff: chrome/browser/profiles/profile_impl.cc

Issue 6677049: Comb up ownership things. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: d Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index d973c1f8db8bf43e50a1a919a67292c737313f1f..637c52e1e1481896b6995ab60d5b6b447a7fbf6a 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -1495,8 +1495,6 @@ void ProfileImpl::ChangeAppLocale(
}
if (do_update_pref)
GetPrefs()->SetString(prefs::kApplicationLocale, new_locale);
- if (chromeos::UserManager::Get()->current_user_is_owner())
- local_state->SetString(prefs::kOwnerLocale, new_locale);
altimofeev 2011/03/16 11:35:54 What about the case, when the owner changes locale
Denis Lagno 2011/03/16 11:55:14 Good catch. Done.
local_state->SetString(prefs::kApplicationLocale, new_locale);
GetPrefs()->ScheduleSavePersistentPrefs();

Powered by Google App Engine
This is Rietveld 408576698