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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/serialization/SerializedScriptValueFuzzer.cpp

Issue 2900373002: Remove LLVMFuzzerInitialize from many Blink fuzzers (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | third_party/WebKit/Source/core/css/StyleSheetContentsFuzzer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/serialization/SerializedScriptValueFuzzer.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/serialization/SerializedScriptValueFuzzer.cpp b/third_party/WebKit/Source/bindings/core/v8/serialization/SerializedScriptValueFuzzer.cpp
index 60b418af5a2b592b3c0d99cdab87bb9bf9755fdc..fe3e83e13346ddc1af4312fcda477d9982d0838c 100644
--- a/third_party/WebKit/Source/bindings/core/v8/serialization/SerializedScriptValueFuzzer.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/serialization/SerializedScriptValueFuzzer.cpp
@@ -49,7 +49,8 @@ class WebMessagePortChannelImpl final : public WebMessagePortChannel {
int LLVMFuzzerInitialize(int* argc, char*** argv) {
const char kExposeGC[] = "--expose_gc";
v8::V8::SetFlagsFromString(kExposeGC, sizeof(kExposeGC));
- InitializeBlinkFuzzTest(argc, argv);
+ static BlinkFuzzerTestSupport fuzzer_support =
+ BlinkFuzzerTestSupport(*argc, *argv);
g_page_holder = DummyPageHolder::Create().release();
g_page_holder->GetFrame().GetSettings()->SetScriptEnabled(true);
g_blob_info_array = new WebBlobInfoArray();
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/StyleSheetContentsFuzzer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698