summaryrefslogtreecommitdiff
path: root/fpdfsdk/formfiller/cffl_button.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-08-28 11:34:16 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-28 19:16:33 +0000
commit2b6e2a7c92a8c2756364a40a22e6f91b910fc514 (patch)
tree46e43162696ae24be039603cce113abb0167da41 /fpdfsdk/formfiller/cffl_button.h
parent959279182e2ef325aa2a2a8a45ec4143916ef17c (diff)
downloadpdfium-2b6e2a7c92a8c2756364a40a22e6f91b910fc514.tar.xz
Pass more const CFX_Matrix* params in CFFL_FormFiller.
Remove some useless overrides. Change-Id: Icf4d8bfcca6358ef3f59f768c2d60759d4b05243 Reviewed-on: https://pdfium-review.googlesource.com/10854 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/formfiller/cffl_button.h')
-rw-r--r--fpdfsdk/formfiller/cffl_button.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/formfiller/cffl_button.h b/fpdfsdk/formfiller/cffl_button.h
index 37c294dbf0..ad2eb5bd27 100644
--- a/fpdfsdk/formfiller/cffl_button.h
+++ b/fpdfsdk/formfiller/cffl_button.h
@@ -42,11 +42,11 @@ class CFFL_Button : public CFFL_FormFiller {
void OnDraw(CPDFSDK_PageView* pPageView,
CPDFSDK_Annot* pAnnot,
CFX_RenderDevice* pDevice,
- CFX_Matrix* pUser2Device) override;
+ const CFX_Matrix& mtUser2Device) override;
void OnDrawDeactive(CPDFSDK_PageView* pPageView,
CPDFSDK_Annot* pAnnot,
CFX_RenderDevice* pDevice,
- CFX_Matrix* pUser2Device) override;
+ const CFX_Matrix& mtUser2Device) override;
private:
bool m_bMouseIn;