From 0c53324519762525e17ebbacc02cd33f7f1c837d Mon Sep 17 00:00:00 2001 From: Jochen Eisinger Date: Mon, 22 Sep 2014 08:46:17 +0200 Subject: Invoke V8::Initialize() explicitly during V8 setup BUG=none R=jam@chromium.org Review URL: https://codereview.chromium.org/581413002 --- fpdfsdk/src/javascript/JS_Runtime.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'fpdfsdk') diff --git a/fpdfsdk/src/javascript/JS_Runtime.cpp b/fpdfsdk/src/javascript/JS_Runtime.cpp index be11b044ec..d7802b572e 100644 --- a/fpdfsdk/src/javascript/JS_Runtime.cpp +++ b/fpdfsdk/src/javascript/JS_Runtime.cpp @@ -40,6 +40,7 @@ IFXJS_Runtime* CJS_RuntimeFactory::NewJSRuntime(CPDFDoc_Environment* pApp) JS_Initial(); m_platform = v8::platform::CreateDefaultPlatform(); v8::V8::InitializePlatform(m_platform); + v8::V8::Initialize(); m_bInit = TRUE; } -- cgit v1.2.3