| Index: base/strings/string_util.cc
|
| diff --git a/base/strings/string_util.cc b/base/strings/string_util.cc
|
| index a978891d57e291e5f0bec9586bbe20b04d4bcf43..731a77ddd7697a9c409dd73d277d85aaac89f070 100644
|
| --- a/base/strings/string_util.cc
|
| +++ b/base/strings/string_util.cc
|
| @@ -99,18 +99,6 @@ template<> struct NonASCIIMask<8, wchar_t> {
|
| };
|
| #endif // WCHAR_T_IS_UTF32
|
|
|
| -// DO NOT USE. http://crbug.com/24917
|
| -//
|
| -// tolower() will given incorrect results for non-ASCII characters. Use the
|
| -// ASCII version, base::i18n::ToLower, or base::i18n::FoldCase. This is here
|
| -// for backwards-compat for StartsWith until such calls can be updated.
|
| -struct CaseInsensitiveCompareDeprecated {
|
| - public:
|
| - bool operator()(char16 x, char16 y) const {
|
| - return tolower(x) == tolower(y);
|
| - }
|
| -};
|
| -
|
| } // namespace
|
|
|
| bool IsWprintfFormatPortable(const wchar_t* format) {
|
|
|