summaryrefslogtreecommitdiff
path: root/xfa/fxjse/class.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/class.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/class.cpp')
-rw-r--r--xfa/fxjse/class.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fxjse/class.cpp b/xfa/fxjse/class.cpp
index d5c9b2debc..ff5990aa85 100644
--- a/xfa/fxjse/class.cpp
+++ b/xfa/fxjse/class.cpp
@@ -136,11 +136,10 @@ static void FXJSE_V8ConstructorCallback_Wrapper(
info.This()->SetAlignedPointerInInternalField(0, NULL);
}
-FXJSE_HRUNTIME CFXJSE_Arguments::GetRuntime() const {
+v8::Isolate* CFXJSE_Arguments::GetRuntime() const {
const CFXJSE_ArgumentsImpl* lpArguments =
reinterpret_cast<const CFXJSE_ArgumentsImpl* const>(this);
- return reinterpret_cast<FXJSE_HRUNTIME>(
- lpArguments->m_pRetValue->GetIsolate());
+ return lpArguments->m_pRetValue->GetIsolate();
}
int32_t CFXJSE_Arguments::GetLength() const {