summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_script_imp.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-05-25 16:42:05 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-25 16:42:05 -0700
commitec3da5b821ed65c53eff1c78c2493afd7d933371 (patch)
treecc4b5f00aaf2f79344a115d57fdda99621d4e817 /xfa/fxfa/parser/xfa_script_imp.h
parentcece6534e4e4ac10fdcfb47ac1d690e91bf63c19 (diff)
downloadpdfium-ec3da5b821ed65c53eff1c78c2493afd7d933371.tar.xz
Rename FXJSE_HRUNTIME to v8::Isolate
This CL renames all of the instances of FXJSE_HRUNTIME to be v8::Isolate* and updates the various varible names to match the new type. Review-Url: https://codereview.chromium.org/2010833002
Diffstat (limited to 'xfa/fxfa/parser/xfa_script_imp.h')
-rw-r--r--xfa/fxfa/parser/xfa_script_imp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/xfa_script_imp.h b/xfa/fxfa/parser/xfa_script_imp.h
index 322b64bef6..7a9f8ae3ff 100644
--- a/xfa/fxfa/parser/xfa_script_imp.h
+++ b/xfa/fxfa/parser/xfa_script_imp.h
@@ -23,7 +23,7 @@ class CXFA_ScriptContext {
explicit CXFA_ScriptContext(CXFA_Document* pDocument);
~CXFA_ScriptContext();
- void Initialize(FXJSE_HRUNTIME hRuntime);
+ void Initialize(v8::Isolate* pIsolate);
void SetEventParam(CXFA_EventParam param) { m_eventParam = param; }
CXFA_EventParam* GetEventParam() { return &m_eventParam; }
FX_BOOL RunScript(XFA_SCRIPTLANGTYPE eScriptType,
@@ -39,7 +39,7 @@ class CXFA_ScriptContext {
FXJSE_HVALUE GetJSValueFromMap(CXFA_Object* pObject);
void CacheList(CXFA_NodeList* pList) { m_CacheListArray.Add(pList); }
CXFA_Object* GetThisObject() const { return m_pThisObject; }
- FXJSE_HRUNTIME GetRuntime() const { return m_hJsRuntime; }
+ v8::Isolate* GetRuntime() const { return m_pIsolate; }
int32_t GetIndexByName(CXFA_Node* refNode);
int32_t GetIndexByClassName(CXFA_Node* refNode);
@@ -102,7 +102,7 @@ class CXFA_ScriptContext {
CXFA_Document* m_pDocument;
FXJSE_HCONTEXT m_hJsContext;
- FXJSE_HRUNTIME m_hJsRuntime;
+ v8::Isolate* m_pIsolate;
FXJSE_HCLASS m_hJsClass;
XFA_SCRIPTLANGTYPE m_eScriptType;
FXJSE_CLASS m_JsGlobalClass;