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

Unified Diff: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicyFuzzer.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
Index: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicyFuzzer.cpp
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicyFuzzer.cpp b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicyFuzzer.cpp
index 9acd97f71f6c2b08842583d1fc5209c33d85ab9a..b2c17f8928f71294ed64465b94f79cedd50b4f1d 100644
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicyFuzzer.cpp
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicyFuzzer.cpp
@@ -16,7 +16,7 @@ namespace blink {
DummyPageHolder* g_page_holder = nullptr;
int LLVMFuzzerInitialize(int* argc, char*** argv) {
- InitializeBlinkFuzzTest(argc, argv);
+ static BlinkFuzzerTestSupport test_support = BlinkFuzzerTestSupport();
g_page_holder = DummyPageHolder::Create().release();
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698