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

Unified Diff: third_party/WebKit/Source/core/html/parser/TextResourceDecoderForFuzzing.h

Issue 2655203002: Merge "Pass more hints to encoding detector." to M57 branch (Closed)
Patch Set: Created 3 years, 11 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
Index: third_party/WebKit/Source/core/html/parser/TextResourceDecoderForFuzzing.h
diff --git a/third_party/WebKit/Source/core/html/parser/TextResourceDecoderForFuzzing.h b/third_party/WebKit/Source/core/html/parser/TextResourceDecoderForFuzzing.h
index d09cbcee3040b614736554bf177fc009c78e05c5..ffcbb5066d588f31aeb2d44495aefdc6f263b506 100644
--- a/third_party/WebKit/Source/core/html/parser/TextResourceDecoderForFuzzing.h
+++ b/third_party/WebKit/Source/core/html/parser/TextResourceDecoderForFuzzing.h
@@ -26,7 +26,8 @@ class TextResourceDecoderForFuzzing : public TextResourceDecoder {
: TextResourceDecoder(
String::fromUTF8(fuzzedData.ConsumeBytesInRange(0, 32)),
String::fromUTF8(fuzzedData.ConsumeBytesInRange(0, 32)),
- FuzzedOption(fuzzedData)) {}
+ FuzzedOption(fuzzedData),
+ String()) {}
private:
static TextResourceDecoder::EncodingDetectionOption FuzzedOption(

Powered by Google App Engine
This is Rietveld 408576698