From 72f50f2021cd9f66016c962df8d27fc0c34748cd Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 3 Jan 2017 15:47:20 -0500 Subject: Cleanup ThemeProvider code Remove unused methods, fold the arrow data into the CFWL_WidgetTP instead of a custom class and global object. Change-Id: Ie942052555d6c8668d27072c1fcc5e8e00597518 Reviewed-on: https://pdfium-review.googlesource.com/2139 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- xfa/fwl/theme/cfwl_comboboxtp.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'xfa/fwl/theme/cfwl_comboboxtp.cpp') diff --git a/xfa/fwl/theme/cfwl_comboboxtp.cpp b/xfa/fwl/theme/cfwl_comboboxtp.cpp index 8f961c9884..567cb2ec2b 100644 --- a/xfa/fwl/theme/cfwl_comboboxtp.cpp +++ b/xfa/fwl/theme/cfwl_comboboxtp.cpp @@ -17,10 +17,6 @@ CFWL_ComboBoxTP::CFWL_ComboBoxTP() {} CFWL_ComboBoxTP::~CFWL_ComboBoxTP() {} -bool CFWL_ComboBoxTP::IsValidWidget(CFWL_Widget* pWidget) { - return pWidget && pWidget->GetClassID() == FWL_Type::ComboBox; -} - void CFWL_ComboBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) { if (!pParams) return; -- cgit v1.2.3