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

Unified Diff: Source/wtf/text/TextCodecUserDefined.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/TextCodecUTF8Test.cpp ('k') | Source/wtf/text/TextCodecUserDefined.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/TextCodecUserDefined.h
diff --git a/Source/wtf/text/TextCodecUserDefined.h b/Source/wtf/text/TextCodecUserDefined.h
index d54ff95fcbde45be00341acb4a90e04d86393f49..02c4585f545c17d0385648d5f18b1432488c43e0 100644
--- a/Source/wtf/text/TextCodecUserDefined.h
+++ b/Source/wtf/text/TextCodecUserDefined.h
@@ -36,7 +36,7 @@ namespace WTF {
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/TextCodecUTF8Test.cpp ('k') | Source/wtf/text/TextCodecUserDefined.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698