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

Unified Diff: patches/locid.patch

Issue 822213003: ICU upgrade to 54.1 step 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: readme: better wrapping, declspec patch dropped Created 5 years, 11 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/declspec.patch ('k') | patches/platform_nacl.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patches/locid.patch
diff --git a/patches/locid.patch b/patches/locid.patch
index cf00bef2ba77aa754a89b2a1c0818b197f538b04..79272c6b98ab02757de79ee70c609dcb734c4710 100644
--- a/patches/locid.patch
+++ b/patches/locid.patch
@@ -1,11 +1,11 @@
-Index: source/common/locid.cpp
-===================================================================
---- source/common/locid.cpp (revision 36834)
-+++ source/common/locid.cpp (working copy)
-@@ -484,6 +484,13 @@
+diff --git a/source/common/locid.cpp b/source/common/locid.cpp
+index f073aad..02da988 100644
+--- a/source/common/locid.cpp
++++ b/source/common/locid.cpp
+@@ -509,6 +509,13 @@ Locale& Locale::init(const char* localeID, UBool canonicalize)
/* preset all fields to empty */
language[0] = script[0] = country[0] = 0;
-
+
+ // Need to reset baseName. Otherwise, when a Locale object created with
+ // the default constructor is changed with setFromPOSIXID() later
+ // (e.g. locales obtained with getAvailableLocales()),
« no previous file with comments | « patches/declspec.patch ('k') | patches/platform_nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698