summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_comboboxproxy.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-11 18:09:57 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-11 18:09:57 -0800
commit27e66753c8bd6e664f26d05c1a468dc68be01913 (patch)
tree0006196c2e60225fb571946957f2e77646c6d6e2 /xfa/fwl/core/ifwl_comboboxproxy.cpp
parent6e1d6032b7990cdf580c99ff491a1b761ee39ca6 (diff)
downloadpdfium-chromium/2918.tar.xz
IFWL cleanup in the Combo classeschromium/2919chromium/2918
Cleanup visibility and unused methods in the IFWL combo code. Review-Url: https://codereview.chromium.org/2494743002
Diffstat (limited to 'xfa/fwl/core/ifwl_comboboxproxy.cpp')
-rw-r--r--xfa/fwl/core/ifwl_comboboxproxy.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/xfa/fwl/core/ifwl_comboboxproxy.cpp b/xfa/fwl/core/ifwl_comboboxproxy.cpp
index c8d1f793c6..e7ce1bd77d 100644
--- a/xfa/fwl/core/ifwl_comboboxproxy.cpp
+++ b/xfa/fwl/core/ifwl_comboboxproxy.cpp
@@ -36,8 +36,6 @@ void IFWL_ComboBoxProxy::OnProcessMessage(CFWL_Message* pMessage) {
case FWL_MouseCommand::LeftButtonUp:
OnLButtonUp(pMsg);
break;
- case FWL_MouseCommand::Move:
- break;
default:
break;
}
@@ -97,7 +95,7 @@ void IFWL_ComboBoxProxy::OnLButtonUp(CFWL_MsgMouse* pMsg) {
GetWidgetRect(rect);
rect.left = rect.top = 0;
if (!rect.Contains(pMsg->m_fx, pMsg->m_fy) &&
- m_pComboBox->IsDropListShowed()) {
+ m_pComboBox->IsDropListVisible()) {
m_pComboBox->ShowDropList(false);
}
} else {