diff options
author | Lei Zhang <thestig@chromium.org> | 2017-08-17 12:01:03 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-17 20:22:30 +0000 |
commit | 129297f6ae97169093d4affe3c8421b757bd95ec (patch) | |
tree | e1454f1ac423c372e1743e9347695b82ac496338 /xfa/fwl/theme | |
parent | 86224fc1f74a27c3448961c91e10d4e3feb427e4 (diff) | |
download | pdfium-129297f6ae97169093d4affe3c8421b757bd95ec.tar.xz |
Remove default parameters in CXFA_Graphics methods.
Constify parameters as well.
Change-Id: I7e87b11cc73b133b04d49ceed1c46f5afcb89d1a
Reviewed-on: https://pdfium-review.googlesource.com/11111
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/theme')
-rw-r--r-- | xfa/fwl/theme/cfwl_listboxtp.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/theme/cfwl_scrollbartp.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fwl/theme/cfwl_listboxtp.cpp b/xfa/fwl/theme/cfwl_listboxtp.cpp index 8ea90198a3..deb7d6ff50 100644 --- a/xfa/fwl/theme/cfwl_listboxtp.cpp +++ b/xfa/fwl/theme/cfwl_listboxtp.cpp @@ -41,7 +41,7 @@ void CFWL_ListBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) { } case CFWL_Part::Icon: { pParams->m_pGraphics->StretchImage(pParams->m_pImage, pParams->m_rtPart, - &pParams->m_matrix); + pParams->m_matrix); break; } case CFWL_Part::Check: { diff --git a/xfa/fwl/theme/cfwl_scrollbartp.cpp b/xfa/fwl/theme/cfwl_scrollbartp.cpp index 5deec8d6d6..6b998a9641 100644 --- a/xfa/fwl/theme/cfwl_scrollbartp.cpp +++ b/xfa/fwl/theme/cfwl_scrollbartp.cpp @@ -141,7 +141,7 @@ void CFWL_ScrollBarTP::DrawPaw(CXFA_Graphics* pGraphics, pGraphics->SetLineWidth(1); pGraphics->SetStrokeColor( CXFA_Color(m_pThemeData->clrPawColorLight[eState - 1])); - pGraphics->StrokePath(&path); + pGraphics->StrokePath(&path, nullptr); fX++; path.Clear(); |