summaryrefslogtreecommitdiff
path: root/fxjs/cfxjse_context.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-06-07 00:44:25 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-07 00:44:25 +0000
commitd5c4ab1ef458d158e268b5293c231928c59aacb9 (patch)
treecdd99cc7513e8b59282c33dffe3d94e2ae2533e6 /fxjs/cfxjse_context.cpp
parent10569fcd4a3a9fb0140aa641372bcd462c6aa2f3 (diff)
downloadpdfium-d5c4ab1ef458d158e268b5293c231928c59aacb9.tar.xz
Remove v8::Context slot usage entierly from fxjs
Its no longer required. Change-Id: I180ca99817352a91b6d9d7c9b45985cd96dc730e Reviewed-on: https://pdfium-review.googlesource.com/34290 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cfxjse_context.cpp')
-rw-r--r--fxjs/cfxjse_context.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/fxjs/cfxjse_context.cpp b/fxjs/cfxjse_context.cpp
index 01f86c37be..59cb4af9a7 100644
--- a/fxjs/cfxjse_context.cpp
+++ b/fxjs/cfxjse_context.cpp
@@ -153,7 +153,6 @@ CFXJSE_HostObject* FXJSE_RetrieveObjectBinding(v8::Local<v8::Object> hJSObject,
// static
std::unique_ptr<CFXJSE_Context> CFXJSE_Context::Create(
v8::Isolate* pIsolate,
- CFXJS_Engine* pOptionalEngineToSet,
const FXJSE_CLASS_DESCRIPTOR* pGlobalClass,
CFXJSE_HostObject* pGlobalObject) {
CFXJSE_ScopeUtil_IsolateHandle scope(pIsolate);
@@ -196,9 +195,6 @@ std::unique_ptr<CFXJSE_Context> CFXJSE_Context::Create(
v8::Local<v8::Object> hGlobalObject = GetGlobalObjectFromContext(hNewContext);
FXJSE_UpdateObjectBinding(hGlobalObject, pGlobalObject);
- if (pOptionalEngineToSet)
- pOptionalEngineToSet->SetIntoContext(hNewContext);
-
pContext->m_hContext.Reset(pIsolate, hNewContext);
return pContext;
}