Index: fpdfsdk/src/javascript/JS_Runtime.cpp |
diff --git a/fpdfsdk/src/javascript/JS_Runtime.cpp b/fpdfsdk/src/javascript/JS_Runtime.cpp |
index 83e2c9af2a4984c8c6dafab01b6fe7b912a94684..069edc5cd659231ebe45170ae2fa841432a2dc02 100644 |
--- a/fpdfsdk/src/javascript/JS_Runtime.cpp |
+++ b/fpdfsdk/src/javascript/JS_Runtime.cpp |
@@ -27,7 +27,10 @@ |
#include "report.h" |
#include "util.h" |
-/* ------------------------------ CJS_Runtime ------------------------------ */ |
+// static |
+void IJS_Runtime::Initialize(unsigned int slot, void* isolate) { |
+ FXJS_Initialize(slot, reinterpret_cast<v8::Isolate*>(isolate)); |
+} |
// static |
IJS_Runtime* IJS_Runtime::Create(CPDFDoc_Environment* pEnv) { |