summaryrefslogtreecommitdiff
path: root/fxjs/cfxjs_engine.h
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/cfxjs_engine.h
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/cfxjs_engine.h')
-rw-r--r--fxjs/cfxjs_engine.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fxjs/cfxjs_engine.h b/fxjs/cfxjs_engine.h
index 0c9d70d83d..a5f94767c5 100644
--- a/fxjs/cfxjs_engine.h
+++ b/fxjs/cfxjs_engine.h
@@ -81,17 +81,12 @@ class CFXJS_Engine : public CFX_V8 {
std::function<void(CFXJS_Engine* pEngine, v8::Local<v8::Object> obj)>;
using Destructor = std::function<void(v8::Local<v8::Object> obj)>;
- static CFXJS_Engine* EngineFromIsolateCurrentContext(v8::Isolate* pIsolate);
- static CFXJS_Engine* EngineFromContext(v8::Local<v8::Context> pContext);
-
static int GetObjDefnID(v8::Local<v8::Object> pObj);
static CJS_Object* GetObjectPrivate(v8::Local<v8::Object> pObj);
static void SetObjectPrivate(v8::Local<v8::Object> pObj,
std::unique_ptr<CJS_Object> p);
static void FreeObjectPrivate(v8::Local<v8::Object> pObj);
- void SetIntoContext(v8::Local<v8::Context> pContext);
-
// Always returns a valid, newly-created objDefnID.
int DefineObj(const char* sObjName,
FXJSOBJTYPE eObjType,