From a1fe73272892b668bd5928a836ecc6303c81e2fd Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 18 Apr 2018 22:48:22 +0000 Subject: Always build JS Runtime stubs even if V8 present. Prerequisite for switching V8 off at run-time. Change-Id: I4b9f867185758350f5de3f57e771f63020df6e65 Reviewed-on: https://pdfium-review.googlesource.com/30994 Reviewed-by: Lei Zhang Commit-Queue: Tom Sepez --- fxjs/cjs_runtime.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'fxjs/cjs_runtime.cpp') diff --git a/fxjs/cjs_runtime.cpp b/fxjs/cjs_runtime.cpp index 6da52ad7ef..b9b9c03e1b 100644 --- a/fxjs/cjs_runtime.cpp +++ b/fxjs/cjs_runtime.cpp @@ -46,22 +46,6 @@ #include "fxjs/cfxjse_value.h" #endif // PDF_ENABLE_XFA -// static -void IJS_Runtime::Initialize(unsigned int slot, void* isolate) { - FXJS_Initialize(slot, reinterpret_cast(isolate)); -} - -// static -void IJS_Runtime::Destroy() { - FXJS_Release(); -} - -// static -std::unique_ptr IJS_Runtime::Create( - CPDFSDK_FormFillEnvironment* pFormFillEnv) { - return pdfium::MakeUnique(pFormFillEnv); -} - // static CJS_Runtime* CJS_Runtime::RuntimeFromIsolateCurrentContext( v8::Isolate* pIsolate) { -- cgit v1.2.3