diff options
author | Bo Xu <bo_xu@foxitsoftware.com> | 2014-10-29 16:12:02 -0700 |
---|---|---|
committer | Bo Xu <bo_xu@foxitsoftware.com> | 2014-11-03 11:10:18 -0800 |
commit | ca97940e04b0c6894e7966dd9dc99e84dcf0f560 (patch) | |
tree | 0c99eb12633db23b159ee44ceea138b7f30d9c40 /fpdfsdk | |
parent | 636ad3b7cc8bf9e7afa1084a0b4e5ec2a05196c7 (diff) | |
download | pdfium-ca97940e04b0c6894e7966dd9dc99e84dcf0f560.tar.xz |
Do not Initialize v8 in fpdfsdk, since this has been done in xfa
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/src/javascript/JS_Runtime.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); |