summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/cfwl_listboxtp.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-12-15 13:44:02 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-15 13:44:02 -0800
commit46a4bbf46723cd6375042d599d01fe08012eadd6 (patch)
treef0e0df5fce69c33557971c1bc52ff8b9c69dfaa0 /xfa/fwl/theme/cfwl_listboxtp.cpp
parentd92477068ad0918c97a5dab799d8cfdf07ce3580 (diff)
downloadpdfium-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/theme/cfwl_listboxtp.cpp')
-rw-r--r--xfa/fwl/theme/cfwl_listboxtp.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/xfa/fwl/theme/cfwl_listboxtp.cpp b/xfa/fwl/theme/cfwl_listboxtp.cpp
index 6f082a8729..2fc7ba7671 100644
--- a/xfa/fwl/theme/cfwl_listboxtp.cpp
+++ b/xfa/fwl/theme/cfwl_listboxtp.cpp
@@ -29,11 +29,6 @@ void CFWL_ListBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) {
DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix);
break;
}
- case CFWL_Part::Edge: {
- DrawEdge(pParams->m_pGraphics, pParams->m_pWidget->GetStyles(),
- &pParams->m_rtPart, &pParams->m_matrix);
- break;
- }
case CFWL_Part::Background: {
FillSoildRect(pParams->m_pGraphics, ArgbEncode(255, 255, 255, 255),
&pParams->m_rtPart, &pParams->m_matrix);