summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_widget.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-08-17 15:07:47 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-28 17:16:28 +0000
commit8a4494034eb77bbc3453108616cc5dd67d3adbef (patch)
treeba1ffac6210530acbdbad360c2c975b100e60558 /fpdfsdk/cpdfsdk_widget.h
parent2bb28c347bcafc2fb5ad3e7782220e31048cc81d (diff)
downloadpdfium-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_widget.h')
-rw-r--r--fpdfsdk/cpdfsdk_widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_widget.h b/fpdfsdk/cpdfsdk_widget.h
index 954369da1d..5c63400443 100644
--- a/fpdfsdk/cpdfsdk_widget.h
+++ b/fpdfsdk/cpdfsdk_widget.h
@@ -135,7 +135,7 @@ class CPDFSDK_Widget : public CPDFSDK_BAAnnot {
bool IsWidgetAppearanceValid(CPDF_Annot::AppearanceMode mode);
void DrawAppearance(CFX_RenderDevice* pDevice,
- const CFX_Matrix* pUser2Device,
+ const CFX_Matrix& mtUser2Device,
CPDF_Annot::AppearanceMode mode,
const CPDF_RenderOptions* pOptions) override;