From d92477068ad0918c97a5dab799d8cfdf07ce3580 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 15 Dec 2016 13:43:29 -0800 Subject: Remove more unused widget styles Remove more FWL Widget Styles which are never set. Review-Url: https://codereview.chromium.org/2578473003 --- xfa/fwl/cfwl_form.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'xfa/fwl/cfwl_form.cpp') diff --git a/xfa/fwl/cfwl_form.cpp b/xfa/fwl/cfwl_form.cpp index dcb2555651..a40f74e00c 100644 --- a/xfa/fwl/cfwl_form.cpp +++ b/xfa/fwl/cfwl_form.cpp @@ -99,13 +99,6 @@ void CFWL_Form::DrawWidget(CFX_Graphics* pGraphics, const CFX_Matrix* pMatrix) { param.m_iPart = CFWL_Part::Border; pTheme->DrawBackground(¶m); } - if ((m_pProperties->m_dwStyleExes & FWL_WGTSTYLE_EdgeMask) != - FWL_WGTSTYLE_EdgeNone) { - param.m_iPart = CFWL_Part::Edge; - param.m_rtPart = GetEdgeRect(); - param.m_dwStates = CFWL_PartState_Normal; - pTheme->DrawBackground(¶m); - } } CFWL_Widget* CFWL_Form::DoModal() { -- cgit v1.2.3