Index: chrome/browser/prefs/browser_prefs.cc |
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc |
index c3d1343e23acd082cb2cb20245647e5d065a29b7..139979108c3eef6b4da112afebc6f18ca0e3bbb1 100644 |
--- a/chrome/browser/prefs/browser_prefs.cc |
+++ b/chrome/browser/prefs/browser_prefs.cc |
@@ -642,6 +642,8 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
registry->RegisterBooleanPref(kNetworkPredictionEnabled, true); |
registry->RegisterBooleanPref(kDisableSpdy, false); |
+ registry->RegisterStringPref(prefs::kStaticEncodings, std::string()); |
+ registry->RegisterStringPref(prefs::kRecentlySelectedEncoding, std::string()); |
} |
void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
@@ -742,6 +744,10 @@ void MigrateObsoleteProfilePrefs(Profile* profile) { |
DeleteWebRTCIdentityStoreDB(profile); |
profile_prefs->ClearPref(kNetworkPredictionEnabled); |
profile_prefs->ClearPref(kDisableSpdy); |
+ |
+ // Added 8/2016. |
+ profile_prefs->ClearPref(prefs::kStaticEncodings); |
+ profile_prefs->ClearPref(prefs::kRecentlySelectedEncoding); |
} |
} // namespace chrome |