summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/l10n_util.cc6
-rw-r--r--app/l10n_util.h4
2 files changed, 0 insertions, 10 deletions
diff --git a/app/l10n_util.cc b/app/l10n_util.cc
index 7b8ceb3..1ec4b19 100644
--- a/app/l10n_util.cc
+++ b/app/l10n_util.cc
@@ -718,12 +718,6 @@ std::wstring TruncateString(const std::wstring& string, size_t length) {
return string.substr(0, index) + kElideString;
}
-#if defined(WCHAR_T_IS_UTF32)
-std::wstring ToLower(const std::wstring& string) {
- return UTF16ToWide(ToLower(WideToUTF16(string)));
-}
-#endif // defined(WCHAR_T_IS_UTF32)
-
string16 ToLower(const string16& string) {
icu::UnicodeString lower_u_str(
icu::UnicodeString(string.c_str()).toLower(icu::Locale::getDefault()));
diff --git a/app/l10n_util.h b/app/l10n_util.h
index 62789a9..4bc3ba8 100644
--- a/app/l10n_util.h
+++ b/app/l10n_util.h
@@ -169,10 +169,6 @@ std::wstring GetStringF(int message_id, int64 a);
std::wstring TruncateString(const std::wstring& string, size_t length);
// Returns the lower case equivalent of string.
-#if defined(WCHAR_T_IS_UTF32)
-// Deprecated. The string16 version should be used instead.
-std::wstring ToLower(const std::wstring& string);
-#endif // defined(WCHAR_T_IS_UTF32)
string16 ToLower(const string16& string);
// Returns the upper case equivalent of string.