Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Unified Diff: xfa/fwl/cfwl_pushbutton.cpp

Issue 2575093002: Cleanup widget edge related code (Closed)
Patch Set: Rebase to master Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fwl/cfwl_picturebox.cpp ('k') | xfa/fwl/cfwl_scrollbar.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/cfwl_pushbutton.cpp
diff --git a/xfa/fwl/cfwl_pushbutton.cpp b/xfa/fwl/cfwl_pushbutton.cpp
index 6f107c3f9ef383ad965c0bb0294b823e1bb19748..05f8d256c85f5e2272544ff17f469a265925f42e 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);
}
« no previous file with comments | « xfa/fwl/cfwl_picturebox.cpp ('k') | xfa/fwl/cfwl_scrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698