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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2254273003: Remove text encoding UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 4 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/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 186cff883f07022662cb61adbd6f8f5e6e27fc42..fdf317326c16ba687b4aca068f757038bde95f23 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -2372,8 +2372,7 @@ void ChromeContentBrowserClient::OverrideWebkitPrefs(
web_prefs->password_echo_enabled = browser_defaults::kPasswordEchoEnabled;
#endif
- web_prefs->uses_universal_detector =
- prefs->GetBoolean(prefs::kWebKitUsesUniversalDetector);
+ web_prefs->uses_universal_detector = true; // autodection is always on.
msw 2016/08/23 18:06:27 nit: 'detection'
Jinsuk Kim 2016/08/23 22:46:13 Done.
web_prefs->text_areas_are_resizable =
prefs->GetBoolean(prefs::kWebKitTextAreasAreResizable);
web_prefs->hyperlink_auditing_enabled =

Powered by Google App Engine
This is Rietveld 408576698