| Index: ui/base/l10n/l10n_util.cc
|
| diff --git a/ui/base/l10n/l10n_util.cc b/ui/base/l10n/l10n_util.cc
|
| index 010dbde790b489a65d82e7bfd62e39299905b3db..35b81aa56800aead1b0c83abf82ed07f5bab04dd 100644
|
| --- a/ui/base/l10n/l10n_util.cc
|
| +++ b/ui/base/l10n/l10n_util.cc
|
| @@ -540,7 +540,7 @@ base::string16 GetDisplayNameForLocale(const std::string& locale,
|
| // zh-Hant because the current Android Java API doesn't support scripts.
|
| // TODO(wangxianzhu): remove the special handling of zh-Hans and zh-Hant once
|
| // Android Java API supports scripts.
|
| - if (!base::StartsWithASCII(locale_code, "zh-Han", true)) {
|
| + if (!base::StartsWith(locale_code, "zh-Han", base::CompareCase::SENSITIVE)) {
|
| display_name = GetDisplayNameForLocale(locale_code, display_locale);
|
| } else
|
| #endif
|
|
|