Index: chrome/browser/extensions/default_apps.cc |
diff --git a/chrome/browser/extensions/default_apps.cc b/chrome/browser/extensions/default_apps.cc |
index c8078e4bafbd9df060b2544e0d9546eea90c5e73..2cc32289435e48d1243285e0de259e8ff594ec24 100644 |
--- a/chrome/browser/extensions/default_apps.cc |
+++ b/chrome/browser/extensions/default_apps.cc |
@@ -37,7 +37,8 @@ bool IsLocaleSupported() { |
const std::string& locale = g_browser_process->GetApplicationLocale(); |
static const char* const unsupported_locales[] = {"CN", "TR", "IR"}; |
for (size_t i = 0; i < arraysize(unsupported_locales); ++i) { |
- if (base::EndsWith(locale, unsupported_locales[i], false)) { |
+ if (base::EndsWith(locale, unsupported_locales[i], |
+ base::CompareCase::INSENSITIVE_ASCII)) { |
return false; |
} |
} |