summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-21 12:18:28 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-21 12:18:29 -0800
commit30e5f30f21c182eb54253008ad755abd991e2e07 (patch)
treea4fe0fc8d5b52e2a75b42318bf05cebc6f619a14 /xfa/fwl/theme
parentf5cabbfc3085a7a7a3451452c1a7ebe1f19c1223 (diff)
downloadpdfium-30e5f30f21c182eb54253008ad755abd991e2e07.tar.xz
Remove customized layout flag from FWL
The Customized Layout flag in FWL is always false. Removed the flag and updated the code as needed. Review-Url: https://codereview.chromium.org/2520023002
Diffstat (limited to 'xfa/fwl/theme')
-rw-r--r--xfa/fwl/theme/cfwl_widgettp.cpp4
-rw-r--r--xfa/fwl/theme/cfwl_widgettp.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/xfa/fwl/theme/cfwl_widgettp.cpp b/xfa/fwl/theme/cfwl_widgettp.cpp
index d6273696ce..1b05be72dd 100644
--- a/xfa/fwl/theme/cfwl_widgettp.cpp
+++ b/xfa/fwl/theme/cfwl_widgettp.cpp
@@ -117,10 +117,6 @@ void* CFWL_WidgetTP::GetCapacity(CFWL_ThemePart* pThemePart,
return &m_fValue;
}
-bool CFWL_WidgetTP::IsCustomizedLayout(IFWL_Widget* pWidget) {
- return false;
-}
-
void CFWL_WidgetTP::CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) {
if (!pParams || !m_pTextOut)
return;
diff --git a/xfa/fwl/theme/cfwl_widgettp.h b/xfa/fwl/theme/cfwl_widgettp.h
index f96a7666b3..6093dd2465 100644
--- a/xfa/fwl/theme/cfwl_widgettp.h
+++ b/xfa/fwl/theme/cfwl_widgettp.h
@@ -116,7 +116,6 @@ class CFWL_WidgetTP {
virtual void DrawText(CFWL_ThemeText* pParams);
virtual void* GetCapacity(CFWL_ThemePart* pThemePart,
CFWL_WidgetCapacity dwCapacity);
- virtual bool IsCustomizedLayout(IFWL_Widget* pWidget);
virtual void CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect);
void SetFont(IFWL_Widget* pWidget,