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

Side by Side Diff: icu52/patches/utext.patch

Issue 224133003: Copy the remaining icu46 patches to preserve the history (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « icu52/patches/ubrk.patch ('k') | icu52/patches/vs2012.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Index: test/cintltst/utexttst.c 1 Index: test/cintltst/utexttst.c
2 =================================================================== 2 ===================================================================
3 --- test/cintltst/utexttst.c (revision 29355) 3 --- test/cintltst/utexttst.c (revision 29355)
4 +++ test/cintltst/utexttst.c (revision 29356) 4 +++ test/cintltst/utexttst.c (revision 29356)
5 @@ -1,6 +1,6 @@ 5 @@ -1,6 +1,6 @@
6 /******************************************************************** 6 /********************************************************************
7 * COPYRIGHT: 7 * COPYRIGHT:
8 - * Copyright (c) 2005-2009, International Business Machines Corporation and 8 - * Copyright (c) 2005-2009, International Business Machines Corporation and
9 + * Copyright (c) 2005-2011, International Business Machines Corporation and 9 + * Copyright (c) 2005-2011, International Business Machines Corporation and
10 * others. All Rights Reserved. 10 * others. All Rights Reserved.
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // Pins 'start' to the length of the string, if it came in out-of-bounds. 67 // Pins 'start' to the length of the string, if it came in out-of-bounds.
68 // Snaps 'start' to the beginning of a code point. 68 // Snaps 'start' to the beginning of a code point.
69 ucstrTextAccess(ut, start, TRUE); 69 ucstrTextAccess(ut, start, TRUE);
70 - U_ASSERT(start <= INT32_MAX); 70 - U_ASSERT(start <= INT32_MAX);
71 - start32 = (int32_t)start; 71 - start32 = (int32_t)start;
72 + const UChar *s=ut->chunkContents; 72 + const UChar *s=ut->chunkContents;
73 + start32 = ut->chunkOffset; 73 + start32 = ut->chunkOffset;
74 74
75 int32_t strLength=(int32_t)ut->a; 75 int32_t strLength=(int32_t)ut->a;
76 if (strLength >= 0) { 76 if (strLength >= 0) {
OLDNEW
« no previous file with comments | « icu52/patches/ubrk.patch ('k') | icu52/patches/vs2012.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698