From 4e62b5c7c5a35c7020d581fb65de4b3fc5ad3c1a Mon Sep 17 00:00:00 2001 From: weili Date: Wed, 10 Aug 2016 11:29:57 -0700 Subject: Use smart pointers for class owned pointers in xfa/fwl/theme Use smart pointers instead of raw pointer to make memory management easier for classes under xfa/fwl/theme. BUG=pdfium:518 Review-Url: https://codereview.chromium.org/2230813002 --- xfa/fwl/theme/cfwl_datetimepickertp.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'xfa/fwl/theme/cfwl_datetimepickertp.h') diff --git a/xfa/fwl/theme/cfwl_datetimepickertp.h b/xfa/fwl/theme/cfwl_datetimepickertp.h index 1b8899b73e..04bd910959 100644 --- a/xfa/fwl/theme/cfwl_datetimepickertp.h +++ b/xfa/fwl/theme/cfwl_datetimepickertp.h @@ -20,11 +20,6 @@ class CFWL_DateTimePickerTP : public CFWL_WidgetTP { protected: void DrawDropDownButton(CFWL_ThemeBackground* pParams, CFX_Matrix* pMatrix); - void initThemeData(); - - struct DTPThemeData { - FX_ARGB BoxBkColor[13][2]; - } * m_pThemeData; }; #endif // XFA_FWL_THEME_CFWL_DATETIMEPICKERTP_H_ -- cgit v1.2.3