From 43170f498b8c619620c4141b2d67ef6ab9a518ca Mon Sep 17 00:00:00 2001 From: dsinclair Date: Mon, 21 Nov 2016 11:56:07 -0800 Subject: Update SetThemeColor and SetThemeData The SetThemeColor and SetThemeData methods are always called with a parameter of 0. This Cl removes the parameter and updates the code as needed. Review-Url: https://codereview.chromium.org/2521683002 --- xfa/fwl/theme/cfwl_pushbuttontp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xfa/fwl/theme/cfwl_pushbuttontp.h') diff --git a/xfa/fwl/theme/cfwl_pushbuttontp.h b/xfa/fwl/theme/cfwl_pushbuttontp.h index db17e9cac6..559f1a7f5f 100644 --- a/xfa/fwl/theme/cfwl_pushbuttontp.h +++ b/xfa/fwl/theme/cfwl_pushbuttontp.h @@ -32,7 +32,6 @@ class CFWL_PushButtonTP : public CFWL_WidgetTP { FX_ARGB clrFill[5]; }; - void SetThemeData(uint32_t dwID); void SetTopLineColor(uint32_t* pData); void SetLeftLineColor(uint32_t* pData); void SetRightLineColor(uint32_t* pData); @@ -44,6 +43,9 @@ class CFWL_PushButtonTP : public CFWL_WidgetTP { int32_t GetColorID(uint32_t dwStates) const; std::unique_ptr m_pThemeData; + + private: + void SetThemeData(); }; #endif // XFA_FWL_THEME_CFWL_PUSHBUTTONTP_H_ -- cgit v1.2.3