| Index: pdf/pdfium/fuzzers/pdfium_fuzzer_helper.cc
|
| diff --git a/pdf/pdfium/fuzzers/pdfium_fuzzer_helper.cc b/pdf/pdfium/fuzzers/pdfium_fuzzer_helper.cc
|
| index 3d49a0a7c36a3b9346762241a77e156e64e4b656..9598caa40e575ddff1f4cc339c09d54645f81bf8 100644
|
| --- a/pdf/pdfium/fuzzers/pdfium_fuzzer_helper.cc
|
| +++ b/pdf/pdfium/fuzzers/pdfium_fuzzer_helper.cc
|
| @@ -222,8 +222,12 @@ bool PDFiumFuzzerHelper::RenderPage(const FPDF_DOCUMENT& doc,
|
| // Initialize the library once for all runs of the fuzzer.
|
| struct TestCase {
|
| TestCase() {
|
| +#ifdef V8_USE_EXTERNAL_STARTUP_DATA
|
| InitializeV8ForPDFium(ProgramPath(), "", &natives_blob, &snapshot_blob,
|
| &platform);
|
| +#else
|
| + InitializeV8ForPDFium(ProgramPath(), &platform);
|
| +#endif
|
|
|
| memset(&config, '\0', sizeof(config));
|
| config.version = 2;
|
|
|