diff options
author | Jun Fang <jun_fang@foxitsoftware.com> | 2016-02-19 09:29:08 +0800 |
---|---|---|
committer | Jun Fang <jun_fang@foxitsoftware.com> | 2016-02-19 09:29:08 +0800 |
commit | 5634d5d81339500e4836d019c3d3cf6f5002612d (patch) | |
tree | 37ced985e6a3530c580369008d9c3f445faafc55 /xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp | |
parent | d17a3af124c9e4fa218d5527910c0c9f22559a8f (diff) | |
download | pdfium-5634d5d81339500e4836d019c3d3cf6f5002612d.tar.xz |
Fix a crasher in CXFA_Node::Script_Form_Recalculate()
BUG=pdfium:398
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1704343002 .
Diffstat (limited to 'xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp')
-rw-r--r-- | xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp b/xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp index 81bfa53dc3..04123588b4 100644 --- a/xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp +++ b/xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp @@ -655,7 +655,7 @@ int32_t CXFA_WidgetAcc::ExecuteScript(CXFA_Script script, } CXFA_FFDoc* pDoc = GetDoc(); IXFA_ScriptContext* pContext = pDoc->GetXFADoc()->GetScriptContext(); - pContext->SetEventParam(pEventParam); + pContext->SetEventParam(*pEventParam); pContext->SetRunAtType((XFA_ATTRIBUTEENUM)script.GetRunAt()); CXFA_NodeArray refNodes; if (pEventParam->m_eType == XFA_EVENT_InitCalculate || |