summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/xfa_fm2jsapi.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-05-26 09:40:27 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-26 09:40:27 -0700
commit7f2abcc015583e63cceb52acde757cb2111420bd (patch)
treee8dc22bf5164f0c703ff4dda86447b85002c865d /xfa/fxfa/fm2js/xfa_fm2jsapi.cpp
parentcfaffc09b1d62a81679fb01b0cc85e050be969b7 (diff)
downloadpdfium-7f2abcc015583e63cceb52acde757cb2111420bd.tar.xz
Replace FXJSE_HCONTEXT with CFXJSE_Context*
This Cl removes FXJSE_HCONTEXT and replaces it with the concrete CFXJSE_Context. All varibles have been updated as well to match the new type. Review-Url: https://codereview.chromium.org/2013963005
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_fm2jsapi.cpp')
-rw-r--r--xfa/fxfa/fm2js/xfa_fm2jsapi.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/fm2js/xfa_fm2jsapi.cpp b/xfa/fxfa/fm2js/xfa_fm2jsapi.cpp
index a5992a9709..df817606e2 100644
--- a/xfa/fxfa/fm2js/xfa_fm2jsapi.cpp
+++ b/xfa/fxfa/fm2js/xfa_fm2jsapi.cpp
@@ -44,12 +44,12 @@ XFA_HFM2JSCONTEXT XFA_FM2JS_ContextCreate() {
}
void XFA_FM2JS_ContextInitialize(XFA_HFM2JSCONTEXT hFM2JSContext,
- v8::Isolate* pScriptRuntime,
- FXJSE_HCONTEXT hScriptContext,
+ v8::Isolate* pScriptIsolate,
+ CFXJSE_Context* pScriptContext,
CXFA_Document* pDocument) {
CXFA_FM2JSContext* pContext =
reinterpret_cast<CXFA_FM2JSContext*>(hFM2JSContext);
- pContext->Initialize(pScriptRuntime, hScriptContext, pDocument);
+ pContext->Initialize(pScriptIsolate, pScriptContext, pDocument);
}
void XFA_FM2JS_GlobalPropertyGetter(XFA_HFM2JSCONTEXT hFM2JSContext,