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

Unified Diff: ui/base/l10n/l10n_util_win.cc

Issue 448143008: Move StringToUpperASCII and LowerCaseEqualsASCII to the base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: ui/base/l10n/l10n_util_win.cc
diff --git a/ui/base/l10n/l10n_util_win.cc b/ui/base/l10n/l10n_util_win.cc
index cd0a084a474f6ac90fce90c971dee9b652511918..796d6b05bc541404d88c8c0cf7f92406e4af75f1 100644
--- a/ui/base/l10n/l10n_util_win.cc
+++ b/ui/base/l10n/l10n_util_win.cc
@@ -111,7 +111,8 @@ bool IsLocaleSupportedByOS(const std::string& locale) {
// 'Abyssinica SIL' in the resource bundle to use in the UI. Check
// for its presence to determine whether or not to support Amharic UI on XP.
return (base::win::GetVersion() >= base::win::VERSION_VISTA ||
- !LowerCaseEqualsASCII(locale, "am") || IsFontPresent(L"Abyssinica SIL"));
+ !base::LowerCaseEqualsASCII(locale, "am") ||
+ IsFontPresent(L"Abyssinica SIL"));
}
bool NeedOverrideDefaultUIFont(base::string16* override_font_family,

Powered by Google App Engine
This is Rietveld 408576698