diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-09 19:15:35 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-09 19:15:35 +0000 |
commit | 512adc5d1b8ad634278e659b1704fd90c358dca3 (patch) | |
tree | 552636c065497c096bec0f2783495fd64b2dcb7b /fpdfsdk/cpdfsdk_xfawidget.h | |
parent | c1bf9988bbe2f74d227ce071171455ae99c47dbb (diff) | |
download | pdfium-512adc5d1b8ad634278e659b1704fd90c358dca3.tar.xz |
Mark more bits const in CPDFSDK_XFAWidget.
Change-Id: Ib262eafc73751890a95fb60a5c8d880e9c6792af
Reviewed-on: https://pdfium-review.googlesource.com/c/43615
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_xfawidget.h')
-rw-r--r-- | fpdfsdk/cpdfsdk_xfawidget.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/cpdfsdk_xfawidget.h b/fpdfsdk/cpdfsdk_xfawidget.h index 5878051c8d..2eaa29bb14 100644 --- a/fpdfsdk/cpdfsdk_xfawidget.h +++ b/fpdfsdk/cpdfsdk_xfawidget.h @@ -24,7 +24,7 @@ class CPDFSDK_XFAWidget final : public CPDFSDK_Annot { ~CPDFSDK_XFAWidget() override; // CPDFSDK_Annot: - bool IsXFAField() override; + bool IsXFAField() const override; CXFA_FFWidget* GetXFAWidget() const override; CPDF_Annot::Subtype GetAnnotSubtype() const override; CFX_FloatRect GetRect() const override; @@ -32,8 +32,8 @@ class CPDFSDK_XFAWidget final : public CPDFSDK_Annot { CPDFSDK_InterForm* GetInterForm() const { return m_pInterForm.Get(); } private: - UnownedPtr<CPDFSDK_InterForm> m_pInterForm; - UnownedPtr<CXFA_FFWidget> m_hXFAWidget; + UnownedPtr<CPDFSDK_InterForm> const m_pInterForm; + UnownedPtr<CXFA_FFWidget> const m_hXFAWidget; }; inline CPDFSDK_XFAWidget* ToXFAWidget(CPDFSDK_Annot* pAnnot) { |