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

Unified Diff: source/i18n/uspoof_build.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/i18n/uspoof.cpp ('k') | source/i18n/uspoof_conf.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/i18n/uspoof_build.cpp
diff --git a/source/i18n/uspoof_build.cpp b/source/i18n/uspoof_build.cpp
index 681282e0a89632e669e9443058ed2d02fe3ffbef..18a1ed64f29ab70d21794220068f9ae1c76e632b 100644
--- a/source/i18n/uspoof_build.cpp
+++ b/source/i18n/uspoof_build.cpp
@@ -1,6 +1,6 @@
/*
***************************************************************************
- * Copyright (C) 2008-2009, International Business Machines Corporation
+ * Copyright (C) 2008-2015, International Business Machines Corporation
* and others. All Rights Reserved.
***************************************************************************
* file name: uspoof_build.cpp
@@ -41,6 +41,8 @@
U_NAMESPACE_USE
+// Defined in uspoof.cpp, initializes file-static variables.
+U_CFUNC void uspoof_internalInitStatics(UErrorCode *status);
// The main data building function
@@ -48,7 +50,7 @@ U_CAPI USpoofChecker * U_EXPORT2
uspoof_openFromSource(const char *confusables, int32_t confusablesLen,
const char *confusablesWholeScript, int32_t confusablesWholeScriptLen,
int32_t *errorType, UParseError *pe, UErrorCode *status) {
-
+ uspoof_internalInitStatics(status);
if (U_FAILURE(*status)) {
return NULL;
}
« no previous file with comments | « source/i18n/uspoof.cpp ('k') | source/i18n/uspoof_conf.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698