Index: third_party/WebKit/Source/platform/mhtml/MHTMLFuzzer.cpp |
diff --git a/third_party/WebKit/Source/platform/mhtml/MHTMLFuzzer.cpp b/third_party/WebKit/Source/platform/mhtml/MHTMLFuzzer.cpp |
index 30e8f7a8bb2da9145d82b3b53eea5332240ed769..47a099e6593a5da5013dcb6e1e295dd0f276f3b1 100644 |
--- a/third_party/WebKit/Source/platform/mhtml/MHTMLFuzzer.cpp |
+++ b/third_party/WebKit/Source/platform/mhtml/MHTMLFuzzer.cpp |
@@ -14,6 +14,7 @@ namespace blink { |
// Fuzzer for blink::MHTMLParser. |
int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { |
+ static BlinkFuzzerTestSupport test_support = BlinkFuzzerTestSupport(); |
MHTMLParser mhtml_parser(SharedBuffer::Create(data, size)); |
HeapVector<Member<ArchiveResource>> mhtml_archives = |
mhtml_parser.ParseArchive(); |
@@ -28,8 +29,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; |
-} |