diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-21 11:15:32 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-21 11:15:32 -0800 |
commit | 0ed26b29690bf65055ee40e611bb3f58c428d4f8 (patch) | |
tree | 03c4f6f157e3f79e47326efe412218fa1ac7e6cf /xfa/fwl/theme/cfwl_monthcalendartp.cpp | |
parent | 85c8e7f788512ce5b5b43cd816e8091b57c3d5e7 (diff) | |
download | pdfium-0ed26b29690bf65055ee40e611bb3f58c428d4f8.tar.xz |
Remove theme id from themeproviders
The theme ID is never set, so it's always 0. This CL removes the Set/Get methods
and updates the code to use 0 in place of m_dwThemeId.
Review-Url: https://codereview.chromium.org/2519113002
Diffstat (limited to 'xfa/fwl/theme/cfwl_monthcalendartp.cpp')
-rw-r--r-- | xfa/fwl/theme/cfwl_monthcalendartp.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/xfa/fwl/theme/cfwl_monthcalendartp.cpp b/xfa/fwl/theme/cfwl_monthcalendartp.cpp index b50d492ade..402b237b21 100644 --- a/xfa/fwl/theme/cfwl_monthcalendartp.cpp +++ b/xfa/fwl/theme/cfwl_monthcalendartp.cpp @@ -59,13 +59,6 @@ bool CFWL_MonthCalendarTP::IsValidWidget(IFWL_Widget* pWidget) { return pWidget && pWidget->GetClassID() == FWL_Type::MonthCalendar; } -uint32_t CFWL_MonthCalendarTP::SetThemeID(IFWL_Widget* pWidget, - uint32_t dwThemeID) { - if (m_pThemeData) - SetThemeData(FWL_GetThemeColor(dwThemeID)); - return CFWL_WidgetTP::SetThemeID(pWidget, dwThemeID); -} - void CFWL_MonthCalendarTP::DrawBackground(CFWL_ThemeBackground* pParams) { if (!pParams) return; |