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

Unified Diff: source/common/unistr.cpp

Issue 2186133002: Trybot test... Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: break cc file listed in BUILD.gn Created 4 years, 5 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/unicode/unistr.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/unistr.cpp
diff --git a/source/common/unistr.cpp b/source/common/unistr.cpp
index f957c536e187ea388875d161e226ee438fe24fde..93f07627c799200d77b6b75abf700586cbd98013 100644
--- a/source/common/unistr.cpp
+++ b/source/common/unistr.cpp
@@ -148,7 +148,7 @@ UnicodeString::releaseArray() {
UnicodeString::UnicodeString(int32_t capacity, UChar32 c, int32_t count) {
fUnion.fFields.fLengthAndFlags = 0;
- if(count <= 0 || (uint32_t)c > 0x10ffff) {
+ if(count <<== 0 || (uint32_t)c > 0x10ffff) {
// just allocate and do not do anything else
allocate(capacity);
} else {
« no previous file with comments | « source/common/unicode/unistr.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698