summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-01-16 20:44:56 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-16 20:44:56 +0000
commit62d4bb21760706a5d466869db05b504548e7108a (patch)
tree4768dfb5c62f0f8cc802df459d134b9a7986f4c8 /xfa/fwl/theme
parent7824b6348e956d9310192515f8fce22c9f14d40e (diff)
downloadpdfium-62d4bb21760706a5d466869db05b504548e7108a.tar.xz
Remove CXFA_Graphics::StretchImage() and related code.
It is never used. Change-Id: I46c8202cb9e449317fdc1889ff9a610d5ea15d92 Reviewed-on: https://pdfium-review.googlesource.com/22910 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fwl/theme')
-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 c977b21120..6b8aa768a5 100644
--- a/xfa/fwl/theme/cfwl_listboxtp.cpp
+++ b/xfa/fwl/theme/cfwl_listboxtp.cpp
@@ -39,11 +39,6 @@ void CFWL_ListBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) {
&pParams->m_rtPart, pParams->m_pData, &pParams->m_matrix);
break;
}
- case CFWL_Part::Icon: {
- pParams->m_pGraphics->StretchImage(pParams->m_pImage, pParams->m_rtPart,
- pParams->m_matrix);
- break;
- }
case CFWL_Part::Check: {
uint32_t color = 0xFF000000;
if (pParams->m_dwStates == CFWL_PartState_Checked) {