From ca97940e04b0c6894e7966dd9dc99e84dcf0f560 Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Wed, 29 Oct 2014 16:12:02 -0700 Subject: Do not Initialize v8 in fpdfsdk, since this has been done in xfa --- fpdfsdk/src/javascript/JS_Runtime.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fpdfsdk/src/javascript') diff --git a/fpdfsdk/src/javascript/JS_Runtime.cpp b/fpdfsdk/src/javascript/JS_Runtime.cpp index 269f23bbd7..38f45d10bf 100644 --- a/fpdfsdk/src/javascript/JS_Runtime.cpp +++ b/fpdfsdk/src/javascript/JS_Runtime.cpp @@ -44,10 +44,11 @@ IFXJS_Runtime* CJS_RuntimeFactory::NewJSRuntime(CPDFDoc_Environment* pApp) if (!m_bInit) { JS_Initial(); +/* m_platform = v8::platform::CreateDefaultPlatform(); v8::V8::InitializePlatform(m_platform); v8::V8::Initialize(); - +*/ m_bInit = TRUE; } return new CJS_Runtime(pApp); -- cgit v1.2.3