summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_combobox.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-11-23 13:04:07 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-11-23 13:04:07 -0500
commit7172b71a005c181e9f103ac0e19f6675bf3bc8e8 (patch)
tree433b3e8294fb1c45d7407b67030c5230ffb893c7 /xfa/fwl/core/cfwl_combobox.cpp
parent0ced827f257344a1f5804aa96df538f3e783bd10 (diff)
downloadpdfium-7172b71a005c181e9f103ac0e19f6675bf3bc8e8.tar.xz
Remove IFWL_CombobBox::DataProvider
The height value returned is always 0. This CL removes the plumbing and uses the 0 value directly. R=npm@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/2525003002 .
Diffstat (limited to 'xfa/fwl/core/cfwl_combobox.cpp')
-rw-r--r--xfa/fwl/core/cfwl_combobox.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/xfa/fwl/core/cfwl_combobox.cpp b/xfa/fwl/core/cfwl_combobox.cpp
index 9af4b8da7d..7eb04b5118 100644
--- a/xfa/fwl/core/cfwl_combobox.cpp
+++ b/xfa/fwl/core/cfwl_combobox.cpp
@@ -21,8 +21,7 @@ IFWL_ComboBox* ToComboBox(IFWL_Widget* widget) {
} // namespace
-CFWL_ComboBox::CFWL_ComboBox(const CFWL_App* app)
- : CFWL_Widget(app), m_fMaxListHeight(0) {}
+CFWL_ComboBox::CFWL_ComboBox(const CFWL_App* app) : CFWL_Widget(app) {}
CFWL_ComboBox::~CFWL_ComboBox() {}
@@ -49,10 +48,6 @@ void CFWL_ComboBox::RemoveAll() {
ToComboBox(GetWidget())->RemoveAll();
}
-FX_FLOAT CFWL_ComboBox::GetListHeight(IFWL_Widget* pWidget) {
- return m_fMaxListHeight;
-}
-
void CFWL_ComboBox::GetTextByIndex(int32_t iIndex,
CFX_WideString& wsText) const {
if (!GetWidget())