diff options
author | Lei Zhang <thestig@chromium.org> | 2017-08-17 15:07:47 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-28 17:16:28 +0000 |
commit | 8a4494034eb77bbc3453108616cc5dd67d3adbef (patch) | |
tree | ba1ffac6210530acbdbad360c2c975b100e60558 /fpdfsdk/cpdfsdk_widgethandler.cpp | |
parent | 2bb28c347bcafc2fb5ad3e7782220e31048cc81d (diff) | |
download | pdfium-8a4494034eb77bbc3453108616cc5dd67d3adbef.tar.xz |
Change DrawAppearance() methods to take CFX_Matrix by const-ref.
Change-Id: If038850c745ac26e50c313bdbe630483434caedc
Reviewed-on: https://pdfium-review.googlesource.com/11390
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_widgethandler.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_widgethandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_widgethandler.cpp b/fpdfsdk/cpdfsdk_widgethandler.cpp index f5cd802001..d20d29af67 100644 --- a/fpdfsdk/cpdfsdk_widgethandler.cpp +++ b/fpdfsdk/cpdfsdk_widgethandler.cpp @@ -95,7 +95,7 @@ void CPDFSDK_WidgetHandler::OnDraw(CPDFSDK_PageView* pPageView, bool bDrawAnnots) { if (pAnnot->IsSignatureWidget()) { static_cast<CPDFSDK_BAAnnot*>(pAnnot)->DrawAppearance( - pDevice, pUser2Device, CPDF_Annot::Normal, nullptr); + pDevice, *pUser2Device, CPDF_Annot::Normal, nullptr); } else { if (m_pFormFiller) m_pFormFiller->OnDraw(pPageView, pAnnot, pDevice, pUser2Device); |