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

Unified Diff: Source/wtf/text/TextCodecUserDefined.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/TextCodecUserDefined.h ('k') | Source/wtf/text/TextEncoding.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/TextCodecUserDefined.cpp
diff --git a/Source/wtf/text/TextCodecUserDefined.cpp b/Source/wtf/text/TextCodecUserDefined.cpp
index 1dce92ce1dcf01958d53ca7c209268c4765dc093..9a5a2e8e92238fc47b2b1366ad7bacad070ccc32 100644
--- a/Source/wtf/text/TextCodecUserDefined.cpp
+++ b/Source/wtf/text/TextCodecUserDefined.cpp
@@ -49,7 +49,7 @@ void TextCodecUserDefined::registerCodecs(TextCodecRegistrar registrar)
registrar("x-user-defined", newStreamingTextDecoderUserDefined, 0);
}
-String TextCodecUserDefined::decode(const char* bytes, size_t length, bool, bool, bool&)
+String TextCodecUserDefined::decode(const char* bytes, size_t length, FlushBehavior, bool, bool&)
{
StringBuilder result;
result.reserveCapacity(length);
« no previous file with comments | « Source/wtf/text/TextCodecUserDefined.h ('k') | Source/wtf/text/TextEncoding.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698