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_datetimepickertp.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'xfa/fwl/theme/cfwl_datetimepickertp.cpp') diff --git a/xfa/fwl/theme/cfwl_datetimepickertp.cpp b/xfa/fwl/theme/cfwl_datetimepickertp.cpp index 5c4c86aa21..8902ef9351 100644 --- a/xfa/fwl/theme/cfwl_datetimepickertp.cpp +++ b/xfa/fwl/theme/cfwl_datetimepickertp.cpp @@ -13,10 +13,6 @@ CFWL_DateTimePickerTP::CFWL_DateTimePickerTP() {} CFWL_DateTimePickerTP::~CFWL_DateTimePickerTP() {} -bool CFWL_DateTimePickerTP::IsValidWidget(CFWL_Widget* pWidget) { - return pWidget && pWidget->GetClassID() == FWL_Type::DateTimePicker; -} - void CFWL_DateTimePickerTP::DrawBackground(CFWL_ThemeBackground* pParams) { if (!pParams) return; -- cgit v1.2.3