diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-22 22:08:57 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-22 22:08:57 +0000 |
commit | 7f2d01a2dc223aca5522efaeed0eba9fc145fc51 (patch) | |
tree | f643e741b145ce7e67a391cc8a40696a6a9298f8 /xfa/fxfa/parser | |
parent | 1ca42167e5913eddf57f137fd7b4cc2110b6cd1f (diff) | |
download | pdfium-7f2d01a2dc223aca5522efaeed0eba9fc145fc51.tar.xz |
Convert CXFA_EventParam to store a CXFA_Node
This CL changes the CXFA_EventParam code to store a CXFA_Node instead of
a CXFA_WidgetAcc.
Change-Id: I21510674b0b6435ca9b87bfbf97914f54e5e3464
Reviewed-on: https://pdfium-review.googlesource.com/23451
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser')
-rw-r--r-- | xfa/fxfa/parser/cxfa_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp index 6d670c462d..fb2f012e0c 100644 --- a/xfa/fxfa/parser/cxfa_node.cpp +++ b/xfa/fxfa/parser/cxfa_node.cpp @@ -2078,7 +2078,7 @@ int32_t CXFA_Node::ProcessValidate(CXFA_FFDocView* docView, int32_t iFlags) { if (script) { CXFA_EventParam eParam; eParam.m_eType = XFA_EVENT_Validate; - eParam.m_pTarget = GetWidgetAcc(); + eParam.m_pTarget = this; std::tie(iRet, bRet) = ExecuteBoolScript(docView, script, &eParam); } |