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

Unified Diff: Source/wtf/text/TextCodecLatin1.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/TextCodecICU.cpp ('k') | Source/wtf/text/TextCodecLatin1.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/TextCodecLatin1.h
diff --git a/Source/wtf/text/TextCodecLatin1.h b/Source/wtf/text/TextCodecLatin1.h
index 7a0fa3715be1d585390105ffdc1b04344010adcd..81e80028caa24af15d0129e2b4a67ead0b7cbd28 100644
--- a/Source/wtf/text/TextCodecLatin1.h
+++ b/Source/wtf/text/TextCodecLatin1.h
@@ -36,7 +36,7 @@ public:
static void registerCodecs(TextCodecRegistrar);
private:
- 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/TextCodecICU.cpp ('k') | Source/wtf/text/TextCodecLatin1.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698