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

Unified Diff: icu52/patches/ubrk.patch

Issue 224943002: icu local change part1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: function indentation changed 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « icu52/patches/static.analysis.patch ('k') | icu52/patches/uconv.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu52/patches/ubrk.patch
===================================================================
--- icu52/patches/ubrk.patch (revision 261498)
+++ icu52/patches/ubrk.patch (working copy)
@@ -1,32 +0,0 @@
-Index: source/common/ubrk.cpp
-===================================================================
---- source/common/ubrk.cpp (revision 120256)
-+++ source/common/ubrk.cpp (working copy)
-@@ -166,6 +166,13 @@
- int32_t textLength,
- UErrorCode* status)
- {
-+ if (bi == NULL) {
-+ if (U_SUCCESS(*status)) {
-+ *status = U_ILLEGAL_ARGUMENT_ERROR;
-+ }
-+ return;
-+ }
-+
- BreakIterator *brit = (BreakIterator *)bi;
- UText ut = UTEXT_INITIALIZER;
- utext_openUChars(&ut, text, textLength, status);
-@@ -181,6 +188,13 @@
- UText *text,
- UErrorCode *status)
- {
-+ if (bi == NULL) {
-+ if (U_SUCCESS(*status)) {
-+ *status = U_ILLEGAL_ARGUMENT_ERROR;
-+ }
-+ return;
-+ }
-+
- RuleBasedBreakIterator *brit = (RuleBasedBreakIterator *)bi;
- brit->RuleBasedBreakIterator::setText(text, *status);
- }
« no previous file with comments | « icu52/patches/static.analysis.patch ('k') | icu52/patches/uconv.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698