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

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

Issue 10409046: Migrate the rest of the "global" prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 8 years, 7 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_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index b137006b02eb46683ae5e30b4236e203887771a4..8b513bbe366b65ffc2f7709c47b615514b39414a 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -170,8 +170,7 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) {
// Set up Accept-Language and Accept-Charset header values
params->accept_language = net::HttpUtil::GenerateAcceptLanguageHeader(
pref_service->GetString(prefs::kAcceptLanguages));
- std::string default_charset =
- pref_service->GetString(prefs::kGlobalDefaultCharset);
+ std::string default_charset = pref_service->GetString(prefs::kDefaultCharset);
params->accept_charset =
net::HttpUtil::GenerateAcceptCharsetHeader(default_charset);
« no previous file with comments | « chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc ('k') | chrome/browser/resources/options2/font_settings.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698