55#ifdef V8_USE_EXTERNAL_STARTUP_DATA
57 platform_ = InitializeV8ForPDFiumWithStartupData(exe_path_, std::string(),
58 std::string(),
nullptr);
60 startup_data_ = std::make_unique<v8::StartupData>();
61 platform_ = InitializeV8ForPDFiumWithStartupData(
62 exe_path_, std::string(), std::string(), startup_data_.get());
65 platform_ = InitializeV8ForPDFium(std::string(), exe_path_);
68 v8::Isolate::CreateParams params;
69 params.array_buffer_allocator = array_buffer_allocator_.get();
70 isolate_.reset(v8::Isolate::New(params));