From 7172b71a005c181e9f103ac0e19f6675bf3bc8e8 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 23 Nov 2016 13:04:07 -0500 Subject: 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 . --- xfa/fwl/core/cfwl_combobox.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'xfa/fwl/core/cfwl_combobox.cpp') 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()) -- cgit v1.2.3