From 30e5f30f21c182eb54253008ad755abd991e2e07 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Mon, 21 Nov 2016 12:18:28 -0800 Subject: 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 --- xfa/fwl/theme/cfwl_widgettp.cpp | 4 ---- xfa/fwl/theme/cfwl_widgettp.h | 1 - 2 files changed, 5 deletions(-) (limited to 'xfa/fwl/theme') 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, -- cgit v1.2.3