diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-08 17:00:20 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-09 15:39:17 +0000 |
commit | 9dfcdd24a599a1a2439b80e3910a2ac366fb445b (patch) | |
tree | cd97ad15cb6ac57b87ac00562251e219e71e0b6e /xfa/fxfa/cxfa_ffcombobox.cpp | |
parent | 133542fbe7c01dd296d6ffd205281702ad914506 (diff) | |
download | pdfium-9dfcdd24a599a1a2439b80e3910a2ac366fb445b.tar.xz |
Move Process* methods to CXFA_Node
This CL moves the CXFA_WidgetAcc::Process* methods to CXFA_Node.
Change-Id: Ic01b62e3786a6666a698f8877a8b7b295714bf79
Reviewed-on: https://pdfium-review.googlesource.com/22472
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffcombobox.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffcombobox.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/xfa/fxfa/cxfa_ffcombobox.cpp b/xfa/fxfa/cxfa_ffcombobox.cpp index 7d5a3e35f5..9d65a64a29 100644 --- a/xfa/fxfa/cxfa_ffcombobox.cpp +++ b/xfa/fxfa/cxfa_ffcombobox.cpp @@ -139,8 +139,7 @@ void CXFA_FFComboBox::FWLEventSelChange(CXFA_EventParam* pParam) { pParam->m_eType = XFA_EVENT_Change; pParam->m_pTarget = m_pNode->GetWidgetAcc(); pParam->m_wsNewText = ToComboBox(m_pNormalWidget.get())->GetEditText(); - m_pNode->GetWidgetAcc()->ProcessEvent(GetDocView(), XFA_AttributeEnum::Change, - pParam); + m_pNode->ProcessEvent(GetDocView(), XFA_AttributeEnum::Change, pParam); } uint32_t CXFA_FFComboBox::GetAlignment() { @@ -310,16 +309,14 @@ void CXFA_FFComboBox::OnPreOpen(CFWL_Widget* pWidget) { CXFA_EventParam eParam; eParam.m_eType = XFA_EVENT_PreOpen; eParam.m_pTarget = m_pNode->GetWidgetAcc(); - m_pNode->GetWidgetAcc()->ProcessEvent(GetDocView(), - XFA_AttributeEnum::PreOpen, &eParam); + m_pNode->ProcessEvent(GetDocView(), XFA_AttributeEnum::PreOpen, &eParam); } void CXFA_FFComboBox::OnPostOpen(CFWL_Widget* pWidget) { CXFA_EventParam eParam; eParam.m_eType = XFA_EVENT_PostOpen; eParam.m_pTarget = m_pNode->GetWidgetAcc(); - m_pNode->GetWidgetAcc()->ProcessEvent(GetDocView(), - XFA_AttributeEnum::PostOpen, &eParam); + m_pNode->ProcessEvent(GetDocView(), XFA_AttributeEnum::PostOpen, &eParam); } void CXFA_FFComboBox::OnProcessMessage(CFWL_Message* pMessage) { |