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

Side by Side Diff: patches/locid.patch

Issue 799643002: Add the patch file for the previous CL (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
« no previous file with comments | « README.chromium ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Index: source/common/locid.cpp
2 ===================================================================
3 --- source/common/locid.cpp (revision 36834)
4 +++ source/common/locid.cpp (working copy)
5 @@ -484,6 +484,13 @@
6 /* preset all fields to empty */
7 language[0] = script[0] = country[0] = 0;
8
9 + // Need to reset baseName. Otherwise, when a Locale object created with
10 + // the default constructor is changed with setFromPOSIXID() later
11 + // (e.g. locales obtained with getAvailableLocales()),
12 + // baseName will be still that of the default locale instead of one
13 + // corresponding to localeID.
14 + baseName = NULL;
15 +
16 // "canonicalize" the locale ID to ICU/Java format
17 err = U_ZERO_ERROR;
18 length = canonicalize ?
OLDNEW
« no previous file with comments | « README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698