summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/cfwl_carettp.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-07-03 17:18:35 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-03 17:18:35 +0000
commit931a6b9c253f161f8016064eee601cd238ed246f (patch)
treea34858792d190b86502379698f8c1344bb13a208 /xfa/fwl/theme/cfwl_carettp.cpp
parentbc7e310b027809562eb589bfef72737c193ee27a (diff)
downloadpdfium-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_carettp.cpp')
-rw-r--r--xfa/fwl/theme/cfwl_carettp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fwl/theme/cfwl_carettp.cpp b/xfa/fwl/theme/cfwl_carettp.cpp
index 973531958a..186d658041 100644
--- a/xfa/fwl/theme/cfwl_carettp.cpp
+++ b/xfa/fwl/theme/cfwl_carettp.cpp
@@ -24,9 +24,9 @@ void CFWL_CaretTP::DrawBackground(CFWL_ThemeBackground* pParams) {
if (!(pParams->m_dwStates & CFWL_PartState_HightLight))
return;
- DrawCaretBK(pParams->m_pGraphics, pParams->m_dwStates,
- &(pParams->m_rtPart), (CXFA_GEColor*)pParams->m_pData,
- &(pParams->m_matrix));
+ DrawCaretBK(
+ pParams->m_pGraphics.Get(), pParams->m_dwStates, &pParams->m_rtPart,
+ static_cast<CXFA_GEColor*>(pParams->m_pData), &pParams->m_matrix);
break;
}
default: