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_carettp.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'xfa/fwl/theme/cfwl_carettp.cpp') diff --git a/xfa/fwl/theme/cfwl_carettp.cpp b/xfa/fwl/theme/cfwl_carettp.cpp index 63d6270f77..06df3f51e4 100644 --- a/xfa/fwl/theme/cfwl_carettp.cpp +++ b/xfa/fwl/theme/cfwl_carettp.cpp @@ -15,10 +15,6 @@ CFWL_CaretTP::CFWL_CaretTP() {} CFWL_CaretTP::~CFWL_CaretTP() {} -bool CFWL_CaretTP::IsValidWidget(CFWL_Widget* pWidget) { - return pWidget && pWidget->GetClassID() == FWL_Type::Caret; -} - void CFWL_CaretTP::DrawBackground(CFWL_ThemeBackground* pParams) { if (!pParams) return; -- cgit v1.2.3