diff options
author | dsinclair <dsinclair@chromium.org> | 2016-12-15 13:44:02 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-15 13:44:02 -0800 |
commit | 46a4bbf46723cd6375042d599d01fe08012eadd6 (patch) | |
tree | f0e0df5fce69c33557971c1bc52ff8b9c69dfaa0 /xfa/fwl/cfwl_pushbutton.cpp | |
parent | d92477068ad0918c97a5dab799d8cfdf07ce3580 (diff) | |
download | pdfium-46a4bbf46723cd6375042d599d01fe08012eadd6.tar.xz |
Cleanup widget edge related code
CFWL_Widget::HasEdge() always returns false. This CL removes it and the
supporting code.
Review-Url: https://codereview.chromium.org/2575093002
Diffstat (limited to 'xfa/fwl/cfwl_pushbutton.cpp')
-rw-r--r-- | xfa/fwl/cfwl_pushbutton.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xfa/fwl/cfwl_pushbutton.cpp b/xfa/fwl/cfwl_pushbutton.cpp index 6f107c3f9e..05f8d256c8 100644 --- a/xfa/fwl/cfwl_pushbutton.cpp +++ b/xfa/fwl/cfwl_pushbutton.cpp @@ -68,10 +68,6 @@ void CFWL_PushButton::DrawWidget(CFX_Graphics* pGraphics, DrawBorder(pGraphics, CFWL_Part::Border, m_pProperties->m_pThemeProvider, pMatrix); } - if (HasEdge()) { - DrawEdge(pGraphics, CFWL_Part::Edge, m_pProperties->m_pThemeProvider, - pMatrix); - } DrawBkground(pGraphics, m_pProperties->m_pThemeProvider, pMatrix); } |