diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-17 09:25:42 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-17 09:25:42 -0800 |
commit | 4905c9f0474f4fc0a85f05d0eb8c34fb099a77f2 (patch) | |
tree | e85f61c202b5f729b257606c329925f4ffe485c0 /xfa/fwl/core/ifwl_combolist.cpp | |
parent | 098f454bddc57c9af00d725132a6d9ad8bdb171f (diff) | |
download | pdfium-4905c9f0474f4fc0a85f05d0eb8c34fb099a77f2.tar.xz |
Remove events which are not processed
The DropDown, HoverChanged and CloseUp events are created and thrown but
are not caught for processing anywhere. Removed.
Review-Url: https://codereview.chromium.org/2509733006
Diffstat (limited to 'xfa/fwl/core/ifwl_combolist.cpp')
-rw-r--r-- | xfa/fwl/core/ifwl_combolist.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/xfa/fwl/core/ifwl_combolist.cpp b/xfa/fwl/core/ifwl_combolist.cpp index be167be177..7f178fd1b7 100644 --- a/xfa/fwl/core/ifwl_combolist.cpp +++ b/xfa/fwl/core/ifwl_combolist.cpp @@ -171,12 +171,7 @@ void IFWL_ComboList::OnDropListMouseMove(CFWL_MsgMouse* pMsg) { IFWL_ListBoxDP* pData = static_cast<IFWL_ListBoxDP*>(m_pProperties->m_pDataProvider); - int32_t iSel = pData->GetItemIndex(this, hItem); - CFWL_EvtCmbHoverChanged event; - event.m_pSrcTarget = m_pOuter; - event.m_iCurHover = iSel; - DispatchEvent(&event); - ChangeSelected(iSel); + ChangeSelected(pData->GetItemIndex(this, hItem)); } else if (m_bNotifyOwner) { ClientToOuter(pMsg->m_fx, pMsg->m_fy); IFWL_ComboBox* pOuter = static_cast<IFWL_ComboBox*>(m_pOuter); |