summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/JS_Runtime.cpp
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2015-02-10 09:15:12 -0800
committerJohn Abd-El-Malek <jam@chromium.org>2015-02-10 09:15:12 -0800
commitb045ed21ec797b5d05a6cef819451b0e8bfdee47 (patch)
tree014af0644ce1e673619ac83cc06c75da4af6556e /fpdfsdk/src/javascript/JS_Runtime.cpp
parent29e20e9d9c42122620b488340d4e78dfed6b0d34 (diff)
downloadpdfium-b045ed21ec797b5d05a6cef819451b0e8bfdee47.tar.xz
Merge https://codereview.chromium.org/897973002/ and https://codereview.chromium.org/902753002/ to XFA branch
R=jochen@chromium.org Review URL: https://codereview.chromium.org/887073005
Diffstat (limited to 'fpdfsdk/src/javascript/JS_Runtime.cpp')
-rw-r--r--fpdfsdk/src/javascript/JS_Runtime.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/fpdfsdk/src/javascript/JS_Runtime.cpp b/fpdfsdk/src/javascript/JS_Runtime.cpp
index cf06f9aba6..b0e80dd6b8 100644
--- a/fpdfsdk/src/javascript/JS_Runtime.cpp
+++ b/fpdfsdk/src/javascript/JS_Runtime.cpp
@@ -29,8 +29,6 @@
#include "../../include/fpdfxfa/fpdfxfa_app.h"
#include "../../../xfa/src/fxjse/src/value.h"
-#include <libplatform/libplatform.h>
-
CJS_RuntimeFactory::~CJS_RuntimeFactory()
{
}
@@ -40,11 +38,6 @@ 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);
@@ -63,9 +56,6 @@ void CJS_RuntimeFactory::Release()
{
JS_Release();
ReleaseGlobalData();
- v8::V8::ShutdownPlatform();
- delete m_platform;
- m_platform = NULL;
m_bInit = FALSE;
}
}