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

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

Issue 23532016: Handle odd data lengths in UTF-16 decoder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Simplify Created 6 years, 10 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/wtf/text/TextCodecLatin1.cpp ('k') | Source/wtf/text/TextCodecUTF16.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/TextCodecUTF16.h
diff --git a/Source/wtf/text/TextCodecUTF16.h b/Source/wtf/text/TextCodecUTF16.h
index 49b278f7e746aea3ffd2873723dd19228a76f9d3..41174b78ab474690d12fd4b6aab66cb7d5b86e6f 100644
--- a/Source/wtf/text/TextCodecUTF16.h
+++ b/Source/wtf/text/TextCodecUTF16.h
@@ -37,7 +37,7 @@ namespace WTF {
TextCodecUTF16(bool littleEndian) : m_littleEndian(littleEndian), m_haveBufferedByte(false) { }
- virtual String decode(const char*, size_t length, bool flush, bool stopOnError, bool& sawError) OVERRIDE;
+ virtual String decode(const char*, size_t length, FlushBehavior, bool stopOnError, bool& sawError) OVERRIDE;
virtual CString encode(const UChar*, size_t length, UnencodableHandling) OVERRIDE;
virtual CString encode(const LChar*, size_t length, UnencodableHandling) OVERRIDE;
« no previous file with comments | « Source/wtf/text/TextCodecLatin1.cpp ('k') | Source/wtf/text/TextCodecUTF16.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698