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/i18n/csr2022.cpp

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 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/csr2022.h ('k') | source/i18n/csrsbcs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/i18n/csr2022.cpp
diff --git a/source/i18n/csr2022.cpp b/source/i18n/csr2022.cpp
index be3eafae6a1363cc6f5296bfff575f08c9ada711..3db0bc9f36a92640c1752decfb6c79ee3f45d393 100644
--- a/source/i18n/csr2022.cpp
+++ b/source/i18n/csr2022.cpp
@@ -119,7 +119,6 @@ static const uint8_t escapeSequences_2022JP[][5] = {
{0x1b, 0x2e, 0x46, 0x00, 0x00} // ISO 8859-7
};
-#if !UCONFIG_NO_NON_HTML5_CONVERSION
static const uint8_t escapeSequences_2022KR[][5] = {
{0x1b, 0x24, 0x29, 0x43, 0x00}
};
@@ -137,7 +136,6 @@ static const uint8_t escapeSequences_2022CN[][5] = {
{0x1b, 0x4e, 0x00, 0x00, 0x00}, // SS2
{0x1b, 0x4f, 0x00, 0x00, 0x00}, // SS3
};
-#endif
CharsetRecog_2022JP::~CharsetRecog_2022JP() {}
@@ -154,7 +152,6 @@ UBool CharsetRecog_2022JP::match(InputText *textIn, CharsetMatch *results) const
return (confidence > 0);
}
-#if !UCONFIG_NO_NON_HTML5_CONVERSION
CharsetRecog_2022KR::~CharsetRecog_2022KR() {}
const char *CharsetRecog_2022KR::getName() const {
@@ -184,7 +181,6 @@ UBool CharsetRecog_2022CN::match(InputText *textIn, CharsetMatch *results) const
results->set(textIn, this, confidence);
return (confidence > 0);
}
-#endif
CharsetRecog_2022::~CharsetRecog_2022() {
// nothing to do
« no previous file with comments | « source/i18n/csr2022.h ('k') | source/i18n/csrsbcs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698