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

Unified Diff: Source/wtf/text/TextCodecLatin1.cpp

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.h ('k') | Source/wtf/text/TextCodecUTF16.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/TextCodecLatin1.cpp
diff --git a/Source/wtf/text/TextCodecLatin1.cpp b/Source/wtf/text/TextCodecLatin1.cpp
index ae0b14bbaf24c32f55d753a1f6cf8a4e58ecb132..0338d19440c6b4e9cc927368d5a39a2da6327c03 100644
--- a/Source/wtf/text/TextCodecLatin1.cpp
+++ b/Source/wtf/text/TextCodecLatin1.cpp
@@ -118,7 +118,7 @@ void TextCodecLatin1::registerCodecs(TextCodecRegistrar registrar)
registrar("US-ASCII", newStreamingTextDecoderWindowsLatin1, 0);
}
-String TextCodecLatin1::decode(const char* bytes, size_t length, bool, bool, bool&)
+String TextCodecLatin1::decode(const char* bytes, size_t length, FlushBehavior, bool, bool&)
{
LChar* characters;
if (!length)
« no previous file with comments | « Source/wtf/text/TextCodecLatin1.h ('k') | Source/wtf/text/TextCodecUTF16.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698