Pass v8::Isolate to PDFium at init time.
[pdfium.git] / fpdfsdk / src / jsapi / fxjs_v8_embeddertest.cpp
index 7726c40..1c66039 100644 (file)
@@ -30,7 +30,7 @@ class FXJSV8Embeddertest : public EmbedderTest {
 
     v8::Isolate::Scope isolate_scope(m_pIsolate);
     v8::HandleScope handle_scope(m_pIsolate);
-    FXJS_Initialize(0);
+    FXJS_Initialize(0, nullptr);
     FXJS_PerIsolateData::SetUp(m_pIsolate);
     FXJS_InitializeRuntime(m_pIsolate, nullptr, nullptr, m_pPersistentContext);
   }