From 430fcb2955c48d0046518faea5afde91c5c0ce60 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 31 May 2018 21:03:51 +0000 Subject: Make FXJSE variable context compatible with FXJS. Allows FXJS to be entered directly from V8 when the variable context gets a reference to an FXJS object. Bug: pdfium:1066 Change-Id: I48e39ed9104cc6df31c19d94fa7e0f8c7760932f Reviewed-on: https://pdfium-review.googlesource.com/33450 Reviewed-by: dsinclair Commit-Queue: Tom Sepez --- fxjs/cfxjse_engine.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fxjs/cfxjse_engine.h') diff --git a/fxjs/cfxjse_engine.h b/fxjs/cfxjse_engine.h index 33723ad8a9..dc05f0ddf8 100644 --- a/fxjs/cfxjse_engine.h +++ b/fxjs/cfxjse_engine.h @@ -107,6 +107,7 @@ class CFXJSE_Engine : public CFX_V8 { bool bGetter); bool RunVariablesScript(CXFA_Node* pScriptNode); + UnownedPtr const m_pSubordinateEngine; UnownedPtr const m_pDocument; std::unique_ptr m_JsContext; CFXJSE_Class* m_pJsClass; -- cgit v1.2.3