summaryrefslogtreecommitdiff
path: root/fpdfsdk/src
diff options
context:
space:
mode:
authorJochen Eisinger <jochen@chromium.org>2014-09-22 08:46:17 +0200
committerJochen Eisinger <jochen@chromium.org>2014-09-22 08:46:17 +0200
commit0c53324519762525e17ebbacc02cd33f7f1c837d (patch)
tree0ff9cbcdb94dc918d2f9bd4fbe35cc3443dab81c /fpdfsdk/src
parentc5cab025cef52c171d913f1840a24ce93f483298 (diff)
downloadpdfium-0c53324519762525e17ebbacc02cd33f7f1c837d.tar.xz
Invoke V8::Initialize() explicitly during V8 setupchromium/2168chromium/2167
BUG=none R=jam@chromium.org Review URL: https://codereview.chromium.org/581413002
Diffstat (limited to 'fpdfsdk/src')
-rw-r--r--fpdfsdk/src/javascript/JS_Runtime.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}