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/fxjse/context.cpp | |
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/fxjse/context.cpp')
-rw-r--r-- | xfa/fxjse/context.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxjse/context.cpp b/xfa/fxjse/context.cpp index 9d478295d6..b125177617 100644 --- a/xfa/fxjse/context.cpp +++ b/xfa/fxjse/context.cpp @@ -19,11 +19,11 @@ CFXJSE_Context* CFXContextFromHContext(FXJSE_HCONTEXT hContext) { } // namespace -FXJSE_HCONTEXT FXJSE_Context_Create(FXJSE_HRUNTIME hRuntime, +FXJSE_HCONTEXT FXJSE_Context_Create(v8::Isolate* pIsolate, const FXJSE_CLASS* lpGlobalClass, void* lpGlobalObject) { - CFXJSE_Context* pContext = CFXJSE_Context::Create( - reinterpret_cast<v8::Isolate*>(hRuntime), lpGlobalClass, lpGlobalObject); + CFXJSE_Context* pContext = + CFXJSE_Context::Create(pIsolate, lpGlobalClass, lpGlobalObject); return reinterpret_cast<FXJSE_HCONTEXT>(pContext); } |