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

Unified Diff: patches/remove_si.patch

Issue 1823293002: Update timezone and apply miscellaneous locale data fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: fix a typo in README.chromium Created 4 years, 9 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 | « patches/locale_google.patch ('k') | scripts/copy_data.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patches/remove_si.patch
diff --git a/patches/remove_si.patch b/patches/remove_si.patch
index 93179a2fb3064f470c63a04b171fa236d6f41780..a389d1d4eb409fb544980d1b66026e5ba0286d75 100644
--- a/patches/remove_si.patch
+++ b/patches/remove_si.patch
@@ -1,40 +1,3 @@
-diff --git a/patches/remove_si.patch b/patches/remove_si.patch
-index d21d996..e69de29 100644
---- a/patches/remove_si.patch
-+++ b/patches/remove_si.patch
-@@ -1,32 +0,0 @@
--diff --git a/source/i18n/region.cpp b/source/i18n/region.cpp
--index 085f704..b5a1ae2 100644
----- a/source/i18n/region.cpp
--+++ b/source/i18n/region.cpp
--@@ -67,8 +67,7 @@ static UVector *allRegions = NULL;
-- static const UChar UNKNOWN_REGION_ID [] = { 0x5A, 0x5A, 0 }; /* "ZZ" */
-- static const UChar OUTLYING_OCEANIA_REGION_ID [] = { 0x51, 0x4F, 0 }; /* "QO" */
-- static const UChar WORLD_ID [] = { 0x30, 0x30, 0x31, 0 }; /* "001" */
---static const UChar RANGE_MARKER [] = { 0x7e, 0 }; /* "~" */
---static const UnicodeString RANGE_MARKER_STRING(RANGE_MARKER);
--+static const UChar RANGE_MARKER 0x7eu; /* '~' */
--
-- UOBJECT_DEFINE_RTTI_IMPLEMENTATION(RegionNameEnumeration)
--
--@@ -121,7 +120,7 @@ void Region::loadRegionData(UErrorCode &status) {
--
-- while ( ures_hasNext(regionRegular.getAlias()) ) {
-- UnicodeString regionName = ures_getNextUnicodeString(regionRegular.getAlias(),NULL,&status);
--- int32_t rangeMarkerLocation = regionName.indexOf(RANGE_MARKER_STRING);
--+ int32_t rangeMarkerLocation = regionName.indexOf(RANGE_MARKER);
-- UChar buf[6];
-- regionName.extract(buf,6,status);
-- if ( rangeMarkerLocation > 0 ) {
--@@ -140,7 +139,7 @@ void Region::loadRegionData(UErrorCode &status) {
--
-- while ( ures_hasNext(regionMacro.getAlias()) ) {
-- UnicodeString regionName = ures_getNextUnicodeString(regionMacro.getAlias(),NULL,&status);
--- int32_t rangeMarkerLocation = regionName.indexOf(RANGE_MARKER_STRING);
--+ int32_t rangeMarkerLocation = regionName.indexOf(RANGE_MARKER);
-- UChar buf[6];
-- regionName.extract(buf,6,status);
-- if ( rangeMarkerLocation > 0 ) {
diff --git a/source/i18n/region.cpp b/source/i18n/region.cpp
index 085f704..15c5dd0 100644
--- a/source/i18n/region.cpp
« no previous file with comments | « patches/locale_google.patch ('k') | scripts/copy_data.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698