| Index: third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.cpp b/third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.cpp
|
| index 23d25823f341e2151bcfb6a859369593deaf1078..5900be4d58f6bdb257f2f73486deb496174ab01a 100644
|
| --- a/third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.cpp
|
| @@ -12,7 +12,10 @@
|
|
|
| namespace blink {
|
|
|
| -void InitializeBlinkFuzzTest(int* argc, char*** argv) {
|
| +BlinkFuzzerTestSupport::BlinkFuzzerTestSupport()
|
| + : BlinkFuzzerTestSupport(0, nullptr) {}
|
| +
|
| +BlinkFuzzerTestSupport::BlinkFuzzerTestSupport(int argc, char** argv) {
|
| // Note: we don't tear anything down here after an iteration of the fuzzer
|
| // is complete, this is for efficiency. We rerun the fuzzer with the same
|
| // environment as the previous iteration.
|
| @@ -20,11 +23,13 @@ void InitializeBlinkFuzzTest(int* argc, char*** argv) {
|
|
|
| CHECK(base::i18n::InitializeICU());
|
|
|
| - base::CommandLine::Init(*argc, *argv);
|
| + base::CommandLine::Init(argc, argv);
|
|
|
| content::SetUpBlinkTestEnvironment();
|
|
|
| blink::SchemeRegistry::Initialize();
|
| }
|
|
|
| +BlinkFuzzerTestSupport::~BlinkFuzzerTestSupport() = default;
|
| +
|
| } // namespace blink
|
|
|