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

Side by Side Diff: icu52/patches/ubrk.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/si_value.undef.patch ('k') | icu52/patches/utext.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: source/common/ubrk.cpp 1 Index: source/common/ubrk.cpp
2 =================================================================== 2 ===================================================================
3 --- source/common/ubrk.cpp (revision 120256) 3 --- source/common/ubrk.cpp (revision 120256)
4 +++ source/common/ubrk.cpp (working copy) 4 +++ source/common/ubrk.cpp (working copy)
5 @@ -166,6 +166,13 @@ 5 @@ -166,6 +166,13 @@
6 int32_t textLength, 6 int32_t textLength,
7 UErrorCode* status) 7 UErrorCode* status)
8 { 8 {
9 + if (bi == NULL) { 9 + if (bi == NULL) {
10 + if (U_SUCCESS(*status)) { 10 + if (U_SUCCESS(*status)) {
(...skipping 12 matching lines...) Expand all
23 + if (bi == NULL) { 23 + if (bi == NULL) {
24 + if (U_SUCCESS(*status)) { 24 + if (U_SUCCESS(*status)) {
25 + *status = U_ILLEGAL_ARGUMENT_ERROR; 25 + *status = U_ILLEGAL_ARGUMENT_ERROR;
26 + } 26 + }
27 + return; 27 + return;
28 + } 28 + }
29 + 29 +
30 RuleBasedBreakIterator *brit = (RuleBasedBreakIterator *)bi; 30 RuleBasedBreakIterator *brit = (RuleBasedBreakIterator *)bi;
31 brit->RuleBasedBreakIterator::setText(text, *status); 31 brit->RuleBasedBreakIterator::setText(text, *status);
32 } 32 }
OLDNEW
« no previous file with comments | « icu52/patches/si_value.undef.patch ('k') | icu52/patches/utext.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698