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

Unified Diff: Source/wtf/text/TextCodecICU.h

Issue 1167523003: Define a variable to distinguish system_icu from bundled_icu in Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix the comment in BUILD.gn Created 5 years, 6 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/config.gyp ('k') | Source/wtf/text/TextCodecICU.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/TextCodecICU.h
diff --git a/Source/wtf/text/TextCodecICU.h b/Source/wtf/text/TextCodecICU.h
index d11f0ad10701d71b5f7ffb841f5d8b4168ca360f..b3e6e8d7b6844e64c0720b52223c7cac30dafa9b 100644
--- a/Source/wtf/text/TextCodecICU.h
+++ b/Source/wtf/text/TextCodecICU.h
@@ -58,15 +58,19 @@ private:
void createICUConverter() const;
void releaseICUConverter() const;
+#if defined(USING_SYSTEM_ICU)
bool needsGBKFallbacks() const { return m_needsGBKFallbacks; }
void setNeedsGBKFallbacks(bool needsFallbacks) { m_needsGBKFallbacks = needsFallbacks; }
+#endif
int decodeToBuffer(UChar* buffer, UChar* bufferLimit, const char*& source,
const char* sourceLimit, int32_t* offsets, bool flush, UErrorCode&);
TextEncoding m_encoding;
mutable UConverter* m_converterICU;
+#if defined(USING_SYSTEM_ICU)
mutable bool m_needsGBKFallbacks;
+#endif
};
struct ICUConverterWrapper {
« no previous file with comments | « Source/config.gyp ('k') | Source/wtf/text/TextCodecICU.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698