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

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

Issue 2786913002: Replace the type of hint url for blink::detectTextEncoding (Closed)
Patch Set: const KURL Created 3 years, 9 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 ffcbb5066d588f31aeb2d44495aefdc6f263b506..53a5583f7910ef0c829e3c3b2895d5a496536578 100644
--- a/third_party/WebKit/Source/core/html/parser/TextResourceDecoderForFuzzing.h
+++ b/third_party/WebKit/Source/core/html/parser/TextResourceDecoderForFuzzing.h
@@ -27,7 +27,7 @@ class TextResourceDecoderForFuzzing : public TextResourceDecoder {
String::fromUTF8(fuzzedData.ConsumeBytesInRange(0, 32)),
String::fromUTF8(fuzzedData.ConsumeBytesInRange(0, 32)),
FuzzedOption(fuzzedData),
- String()) {}
+ KURL()) {}
private:
static TextResourceDecoder::EncodingDetectionOption FuzzedOption(

Powered by Google App Engine
This is Rietveld 408576698