summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/cfwl_widgettp.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-21 11:15:32 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-21 11:15:32 -0800
commit0ed26b29690bf65055ee40e611bb3f58c428d4f8 (patch)
tree03c4f6f157e3f79e47326efe412218fa1ac7e6cf /xfa/fwl/theme/cfwl_widgettp.h
parent85c8e7f788512ce5b5b43cd816e8091b57c3d5e7 (diff)
downloadpdfium-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_widgettp.h')
-rw-r--r--xfa/fwl/theme/cfwl_widgettp.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/xfa/fwl/theme/cfwl_widgettp.h b/xfa/fwl/theme/cfwl_widgettp.h
index 4a9ef1347b..b269fb2b04 100644
--- a/xfa/fwl/theme/cfwl_widgettp.h
+++ b/xfa/fwl/theme/cfwl_widgettp.h
@@ -111,8 +111,6 @@ class CFWL_WidgetTP {
virtual void Finalize();
virtual bool IsValidWidget(IFWL_Widget* pWidget);
- virtual uint32_t GetThemeID(IFWL_Widget* pWidget);
- virtual uint32_t SetThemeID(IFWL_Widget* pWidget, uint32_t dwThemeID);
virtual void DrawBackground(CFWL_ThemeBackground* pParams);
virtual void DrawText(CFWL_ThemeText* pParams);
@@ -218,7 +216,6 @@ class CFWL_WidgetTP {
FX_FLOAT m_fValue;
uint32_t m_dwValue;
CFX_RectF m_rtMargin;
- uint32_t m_dwThemeID;
};
void FWLTHEME_Release();