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

Unified Diff: source/i18n/csr2022.cpp

Issue 587833004: Turn on UCONFIG_NO_NON_HTML5_CONVERTER to save 100kB (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/icu52/
Patch Set: more tests added to desc Created 6 years, 3 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
===================================================================
--- source/i18n/csr2022.cpp (revision 291619)
+++ source/i18n/csr2022.cpp (working copy)
@@ -119,6 +119,7 @@
{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}
};
@@ -136,6 +137,7 @@
{0x1b, 0x4e, 0x00, 0x00, 0x00}, // SS2
{0x1b, 0x4f, 0x00, 0x00, 0x00}, // SS3
};
+#endif
CharsetRecog_2022JP::~CharsetRecog_2022JP() {}
@@ -152,6 +154,7 @@
return (confidence > 0);
}
+#if !UCONFIG_NO_NON_HTML5_CONVERSION
CharsetRecog_2022KR::~CharsetRecog_2022KR() {}
const char *CharsetRecog_2022KR::getName() const {
@@ -181,6 +184,7 @@
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