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

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

Issue 6249009: Cleanup of r71320 commit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style fix 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
« no previous file with comments | « chrome/browser/chromeos/locale_change_guard.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 925933a4164f70a12e9fdacaf6e7efbad094cb90..e4495e3e8b5953857d294a9a408b6f0418c150e8 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -1351,7 +1351,7 @@ void ProfileImpl::ChangeApplicationLocale(
GetPrefs()->SetString(prefs::kApplicationLocaleOverride, locale);
} else {
GetPrefs()->SetString(prefs::kApplicationLocale, locale);
- GetPrefs()->SetString(prefs::kApplicationLocaleOverride, "");
+ GetPrefs()->ClearPref(prefs::kApplicationLocaleOverride);
}
GetPrefs()->SetString(prefs::kApplicationLocaleBackup, locale);
GetPrefs()->ClearPref(prefs::kApplicationLocaleAccepted);
« no previous file with comments | « chrome/browser/chromeos/locale_change_guard.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698