summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-02-01 19:23:03 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-01 19:23:03 +0000
commitfb25606e584e14d60fc243e8b56eef399a4a54bd (patch)
tree4b7feb8bc4e4bd0201b50d51ef51805bd2db21c5 /fpdfsdk/fpdfxfa/cpdfxfa_context.cpp
parente899dd7d820ec1ab7cb27bfd23dbe0a09ec3a0c3 (diff)
downloadpdfium-fb25606e584e14d60fc243e8b56eef399a4a54bd.tar.xz
Make FXJSE_Engine constructed from FXJS_Engine.
No change in functionality yet, just passing higher level object. Precursor to maybe sharing v8 context between fxjs / fxjse. Mark unimplemented ctors / assignment operator as "delete". Change-Id: I100de7755909eec2eed96f6f51216d85923ffbb2 Reviewed-on: https://pdfium-review.googlesource.com/25050 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfxfa/cpdfxfa_context.cpp')
-rw-r--r--fpdfsdk/fpdfxfa/cpdfxfa_context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp
index 784344f1c6..9f07714d04 100644
--- a/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp
+++ b/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp
@@ -104,7 +104,7 @@ bool CPDFXFA_Context::LoadXFADoc() {
return false;
}
m_pXFADoc->StopLoad();
- m_pXFADoc->GetXFADoc()->InitScriptContext(GetCJSRuntime()->GetIsolate());
+ m_pXFADoc->GetXFADoc()->InitScriptContext(GetCJSRuntime());
if (m_pXFADoc->GetFormType() == FormType::kXFAFull)
m_FormType = FormType::kXFAFull;