diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-07-03 17:18:35 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-03 17:18:35 +0000 |
commit | 931a6b9c253f161f8016064eee601cd238ed246f (patch) | |
tree | a34858792d190b86502379698f8c1344bb13a208 /xfa/fwl/theme/cfwl_barcodetp.cpp | |
parent | bc7e310b027809562eb589bfef72737c193ee27a (diff) | |
download | pdfium-931a6b9c253f161f8016064eee601cd238ed246f.tar.xz |
Use UnownedPtr<> in cfwl_scrollbar.h and cfwl_themebackground.h
Change-Id: Ib65197a9cd9de173de8e77db168dcfbb43669022
Reviewed-on: https://pdfium-review.googlesource.com/36911
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/theme/cfwl_barcodetp.cpp')
-rw-r--r-- | xfa/fwl/theme/cfwl_barcodetp.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/xfa/fwl/theme/cfwl_barcodetp.cpp b/xfa/fwl/theme/cfwl_barcodetp.cpp index cafdf17933..52e0c9fa5b 100644 --- a/xfa/fwl/theme/cfwl_barcodetp.cpp +++ b/xfa/fwl/theme/cfwl_barcodetp.cpp @@ -19,15 +19,14 @@ void CFWL_BarcodeTP::DrawBackground(CFWL_ThemeBackground* pParams) { return; switch (pParams->m_iPart) { - case CFWL_Part::Border: { - DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); + case CFWL_Part::Border: + DrawBorder(pParams->m_pGraphics.Get(), &pParams->m_rtPart, + &pParams->m_matrix); break; - } - case CFWL_Part::Background: { - FillBackground(pParams->m_pGraphics, &pParams->m_rtPart, + case CFWL_Part::Background: + FillBackground(pParams->m_pGraphics.Get(), &pParams->m_rtPart, &pParams->m_matrix); break; - } default: break; } |