diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 19:47:20 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 19:47:20 +0000 |
commit | e5a8c47bda7fe8e3d8491fdd74cd166da02b8a7b (patch) | |
tree | 35f5b482eb88291018ecc7a9236d6a9067329fe5 /app | |
parent | 13ecb04b3a06a7e84c95a6b7c99f64529aa03b61 (diff) | |
download | chromium_src-e5a8c47bda7fe8e3d8491fdd74cd166da02b8a7b.zip chromium_src-e5a8c47bda7fe8e3d8491fdd74cd166da02b8a7b.tar.gz chromium_src-e5a8c47bda7fe8e3d8491fdd74cd166da02b8a7b.tar.bz2 |
Remove a deprecated wstring ToLower function.
BUG=23581
Review URL: http://codereview.chromium.org/3044043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54946 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app')
-rw-r--r-- | app/l10n_util.cc | 6 | ||||
-rw-r--r-- | app/l10n_util.h | 4 |
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. |