diff options
author | dsinclair <dsinclair@chromium.org> | 2016-05-25 16:42:05 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-25 16:42:05 -0700 |
commit | ec3da5b821ed65c53eff1c78c2493afd7d933371 (patch) | |
tree | cc4b5f00aaf2f79344a115d57fdda99621d4e817 /xfa/fxfa/fm2js/xfa_fm2jscontext.h | |
parent | cece6534e4e4ac10fdcfb47ac1d690e91bf63c19 (diff) | |
download | pdfium-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/fm2js/xfa_fm2jscontext.h')
-rw-r--r-- | xfa/fxfa/fm2js/xfa_fm2jscontext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/fm2js/xfa_fm2jscontext.h b/xfa/fxfa/fm2js/xfa_fm2jscontext.h index 287340345e..3cd4a0b763 100644 --- a/xfa/fxfa/fm2js/xfa_fm2jscontext.h +++ b/xfa/fxfa/fm2js/xfa_fm2jscontext.h @@ -435,17 +435,17 @@ class CXFA_FM2JSContext { CXFA_FM2JSContext(); ~CXFA_FM2JSContext(); - void Initialize(FXJSE_HRUNTIME hScriptRuntime, + void Initialize(v8::Isolate* pScriptRuntime, FXJSE_HCONTEXT hScriptContext, CXFA_Document* pDoc); void GlobalPropertyGetter(FXJSE_HVALUE hValue); - FXJSE_HRUNTIME GetScriptRuntime() const { return m_hScriptRuntime; } + v8::Isolate* GetScriptRuntime() const { return m_pIsolate; } CXFA_Document* GetDocument() const { return m_pDocument; } void ThrowScriptErrorMessage(int32_t iStringID, ...); private: - FXJSE_HRUNTIME m_hScriptRuntime; + v8::Isolate* m_pIsolate; FXJSE_CLASS m_fmClass; FXJSE_HCLASS m_hFMClass; FXJSE_HVALUE m_hValue; |