| Index: third_party/WebKit/Source/platform/WebIconSizesFuzzer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/WebIconSizesFuzzer.cpp b/third_party/WebKit/Source/platform/WebIconSizesFuzzer.cpp
|
| index ee82a12e8b6703393f13311142836869b5511b34..1cf95386c31f4b7d66b96987710fdc83e196be31 100644
|
| --- a/third_party/WebKit/Source/platform/WebIconSizesFuzzer.cpp
|
| +++ b/third_party/WebKit/Source/platform/WebIconSizesFuzzer.cpp
|
| @@ -11,6 +11,7 @@ namespace blink {
|
|
|
| // Fuzzer for blink::MHTMLParser.
|
| int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
| + static BlinkFuzzerTestSupport test_support = BlinkFuzzerTestSupport();
|
| WebString string =
|
| WebString::FromUTF8(reinterpret_cast<const char*>(data), size);
|
| WebIconSizesParser::ParseIconSizes(string);
|
| @@ -22,8 +23,3 @@ int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
| extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
| return blink::LLVMFuzzerTestOneInput(data, size);
|
| }
|
| -
|
| -extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv) {
|
| - blink::InitializeBlinkFuzzTest(argc, argv);
|
| - return 0;
|
| -}
|
|
|