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

Unified Diff: chrome/browser/ui/prefs/prefs_tab_helper.cc

Issue 2293373002: Remove unused prefs/api/resource for setPageEncoding (Closed)
Patch Set: reverted TextResourceDecoder Created 4 years, 3 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/ui/prefs/prefs_tab_helper.cc
diff --git a/chrome/browser/ui/prefs/prefs_tab_helper.cc b/chrome/browser/ui/prefs/prefs_tab_helper.cc
index 0f2eb85601588380727b9c40b3173b26670d942f..fea80aa62cf2831533362d34223296f5ea4d9847 100644
--- a/chrome/browser/ui/prefs/prefs_tab_helper.cc
+++ b/chrome/browser/ui/prefs/prefs_tab_helper.cc
@@ -91,7 +91,6 @@ const char* kPrefsToObserve[] = {
prefs::kWebKitPluginsEnabled,
prefs::kWebkitTabsToLinks,
prefs::kWebKitTextAreasAreResizable,
- prefs::kWebKitUsesUniversalDetector,
prefs::kWebKitWebSecurityEnabled,
};
@@ -599,10 +598,6 @@ void PrefsTabHelper::RegisterProfilePrefs(
IDS_MINIMUM_FONT_SIZE);
RegisterLocalizedFontPref(registry, prefs::kWebKitMinimumLogicalFontSize,
IDS_MINIMUM_LOGICAL_FONT_SIZE);
- registry->RegisterBooleanPref(
- prefs::kWebKitUsesUniversalDetector,
- l10n_util::GetStringUTF8(IDS_USES_UNIVERSAL_DETECTOR) == "true",
- user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
}
// static

Powered by Google App Engine
This is Rietveld 408576698