summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_form.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-12-15 13:43:29 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-15 13:43:29 -0800
commitd92477068ad0918c97a5dab799d8cfdf07ce3580 (patch)
tree207ab58fc62713e99c5810d31c3eb1afa34ecd21 /xfa/fwl/cfwl_form.cpp
parent791a0ccd25474d9306ad0df425575869caec3048 (diff)
downloadpdfium-d92477068ad0918c97a5dab799d8cfdf07ce3580.tar.xz
Remove more unused widget styles
Remove more FWL Widget Styles which are never set. Review-Url: https://codereview.chromium.org/2578473003
Diffstat (limited to 'xfa/fwl/cfwl_form.cpp')
-rw-r--r--xfa/fwl/cfwl_form.cpp7
1 files changed, 0 insertions, 7 deletions
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(&param);
}
- 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(&param);
- }
}
CFWL_Widget* CFWL_Form::DoModal() {