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

Unified Diff: chrome/browser/sync/glue/preference_model_associator.cc

Issue 6248017: Do not use local override for language settings: always sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 11 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/sync/glue/preference_model_associator.cc
diff --git a/chrome/browser/sync/glue/preference_model_associator.cc b/chrome/browser/sync/glue/preference_model_associator.cc
index 6dfab23df2bacf145a6f46c40f84c4d28cf41755..be0345e45ff784479cb9dccb2ee07a89592eea25 100644
--- a/chrome/browser/sync/glue/preference_model_associator.cc
+++ b/chrome/browser/sync/glue/preference_model_associator.cc
@@ -32,8 +32,7 @@ PreferenceModelAssociator::PreferenceModelAssociator(
// synced_preferences set, taking care to filter out any preferences
// that are not registered.
PrefService* pref_service = sync_service_->profile()->GetPrefs();
- for (size_t i = 0;
- i < static_cast<size_t>(arraysize(kSynchronizedPreferences)); ++i) {
+ for (size_t i = 0; i < arraysize(kSynchronizedPreferences); ++i) {
if (pref_service->FindPreference(kSynchronizedPreferences[i]))
synced_preferences_.insert(kSynchronizedPreferences[i]);
}

Powered by Google App Engine
This is Rietveld 408576698