Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Unified Diff: trunk/Source/wtf/text/StringImpl.cpp

Issue 1155543007: Revert 196325 "Make small-caps work correctly with tr locale" (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/Source/wtf/text/StringImpl.h ('k') | trunk/Source/wtf/unicode/CharacterNames.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/wtf/text/StringImpl.cpp
===================================================================
--- trunk/Source/wtf/text/StringImpl.cpp (revision 196343)
+++ trunk/Source/wtf/text/StringImpl.cpp (working copy)
@@ -2094,21 +2094,4 @@
return size + sizeof(*this);
}
-UChar32 toUpper(UChar32 c, const AtomicString& localeIdentifier)
-{
- if (!localeIdentifier.isNull()) {
- if (localeIdMatchesLang(localeIdentifier, "tr") || localeIdMatchesLang(localeIdentifier, "az")) {
- if (c == 'i')
- return latinCapitalLetterIWithDotAbove;
- if (c == latinSmallLetterDotlessI)
- return 'I';
- } else if (localeIdMatchesLang(localeIdentifier, "lt")) {
- // TODO(rob.buis) implement upper-casing rules for lt
- // like in StringImpl::upper(locale).
- }
- }
-
- return toUpper(c);
-}
-
} // namespace WTF
« no previous file with comments | « trunk/Source/wtf/text/StringImpl.h ('k') | trunk/Source/wtf/unicode/CharacterNames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698