summaryrefslogtreecommitdiff
path: root/xfa/fxjse/value.cpp
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/fxjse/value.cpp
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/fxjse/value.cpp')
-rw-r--r--xfa/fxjse/value.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fxjse/value.cpp b/xfa/fxjse/value.cpp
index dd07b6cbb8..c23e12c32f 100644
--- a/xfa/fxjse/value.cpp
+++ b/xfa/fxjse/value.cpp
@@ -193,9 +193,8 @@ FX_BOOL FXJSE_Value_SetFunctionBind(FXJSE_HVALUE hValue,
return lpValue->SetFunctionBind(lpOldFunction, lpNewThis);
}
-FXJSE_HVALUE FXJSE_Value_Create(FXJSE_HRUNTIME hRuntime) {
- return reinterpret_cast<FXJSE_HVALUE>(
- CFXJSE_Value::Create(reinterpret_cast<v8::Isolate*>(hRuntime)));
+FXJSE_HVALUE FXJSE_Value_Create(v8::Isolate* pIsolate) {
+ return reinterpret_cast<FXJSE_HVALUE>(CFXJSE_Value::Create(pIsolate));
}
void FXJSE_Value_Release(FXJSE_HVALUE hValue) {