Index: ui/base/l10n/l10n_util.cc |
diff --git a/ui/base/l10n/l10n_util.cc b/ui/base/l10n/l10n_util.cc |
index a74719b17d459eb7160a58424c49607832e7d9f7..2a93d617de8009cf8a72ff7376eb4e2359b932da 100644 |
--- a/ui/base/l10n/l10n_util.cc |
+++ b/ui/base/l10n/l10n_util.cc |
@@ -824,18 +824,6 @@ base::string16 GetStringFUTF16Int(int message_id, int64 a) { |
return GetStringFUTF16(message_id, base::UTF8ToUTF16(base::Int64ToString(a))); |
} |
-// Specialization of operator() method for base::string16 version. |
-template <> |
-bool StringComparator<base::string16>::operator()(const base::string16& lhs, |
- const base::string16& rhs) { |
- // If we can not get collator instance for specified locale, just do simple |
- // string compare. |
- if (!collator_) |
- return lhs < rhs; |
- return base::i18n::CompareString16WithCollator(collator_, lhs, rhs) == |
- UCOL_LESS; |
-}; |
- |
base::string16 GetPluralStringFUTF16(const std::vector<int>& message_ids, |
int number) { |
scoped_ptr<icu::PluralFormat> format = BuildPluralFormat(message_ids); |