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 /fpdfsdk/fpdfview.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 'fpdfsdk/fpdfview.cpp')
-rw-r--r-- | fpdfsdk/fpdfview.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fpdfsdk/fpdfview.cpp b/fpdfsdk/fpdfview.cpp index bf7ae0f5c2..95dd11c7cb 100644 --- a/fpdfsdk/fpdfview.cpp +++ b/fpdfsdk/fpdfview.cpp @@ -247,9 +247,8 @@ FPDF_InitLibraryWithConfig(const FPDF_LIBRARY_CONFIG* cfg) { #ifdef PDF_ENABLE_XFA CPDFXFA_App::GetInstance()->Initialize( - (cfg && cfg->version >= 2) - ? reinterpret_cast<FXJSE_HRUNTIME>(cfg->m_pIsolate) - : nullptr); + (cfg && cfg->version >= 2) ? static_cast<v8::Isolate*>(cfg->m_pIsolate) + : nullptr); #else // PDF_ENABLE_XFA pModuleMgr->LoadEmbeddedGB1CMaps(); pModuleMgr->LoadEmbeddedJapan1CMaps(); |