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

Unified Diff: source/common/uvectr64.cpp

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 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 | « source/common/uvectr32.cpp ('k') | source/common/wintz.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/uvectr64.cpp
diff --git a/source/common/uvectr64.cpp b/source/common/uvectr64.cpp
index c09ed513cd94539a66d209aebc379d67a628e04c..8af85e6dcfe0a8336931aec92884e542f7ae7c69 100644
--- a/source/common/uvectr64.cpp
+++ b/source/common/uvectr64.cpp
@@ -1,7 +1,7 @@
/*
******************************************************************************
-* Copyright (C) 1999-2010, International Business Machines Corporation and *
-* others. All Rights Reserved. *
+* Copyright (C) 1999-2015, International Business Machines Corporation and
+* others. All Rights Reserved.
******************************************************************************
*/
@@ -114,6 +114,9 @@ void UVector64::removeAllElements(void) {
}
UBool UVector64::expandCapacity(int32_t minimumCapacity, UErrorCode &status) {
+ if (U_FAILURE(status)) {
+ return FALSE;
+ }
if (minimumCapacity < 0) {
status = U_ILLEGAL_ARGUMENT_ERROR;
return FALSE;
« no previous file with comments | « source/common/uvectr32.cpp ('k') | source/common/wintz.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698