diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-09 19:02:24 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-09 19:02:24 +0000 |
commit | 7fb895f623e607a3c3b26b2caca0b15a0ef6947c (patch) | |
tree | e39a0c0bcd544c134ee79eefd1e51dc32c271466 /fpdfsdk/cpdfsdk_annotiterator.h | |
parent | 615961cf3f78c7c34569a31698b7fa681208af84 (diff) | |
download | pdfium-7fb895f623e607a3c3b26b2caca0b15a0ef6947c.tar.xz |
Make more CPDFSDK_AnnotIterator members const.
Change-Id: I1c387ad9f6e1e4e87ebd7b778789617f93cf2c76
Reviewed-on: https://pdfium-review.googlesource.com/c/43614
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_annotiterator.h')
-rw-r--r-- | fpdfsdk/cpdfsdk_annotiterator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/cpdfsdk_annotiterator.h b/fpdfsdk/cpdfsdk_annotiterator.h index 723550edc5..fd7cbdc6b1 100644 --- a/fpdfsdk/cpdfsdk_annotiterator.h +++ b/fpdfsdk/cpdfsdk_annotiterator.h @@ -19,7 +19,7 @@ class CPDFSDK_PageView; class CPDFSDK_AnnotIterator { public: - enum TabOrder { STRUCTURE = 0, ROW, COLUMN }; + enum TabOrder : uint8_t { STRUCTURE = 0, ROW, COLUMN }; CPDFSDK_AnnotIterator(CPDFSDK_PageView* pPageView, CPDF_Annot::Subtype nAnnotSubtype); @@ -37,9 +37,9 @@ class CPDFSDK_AnnotIterator { void AddSelectedToAnnots(std::vector<CPDFSDK_Annot*>* sa, std::vector<size_t>* aSelect); - TabOrder m_eTabOrder; - UnownedPtr<CPDFSDK_PageView> m_pPageView; + UnownedPtr<CPDFSDK_PageView> const m_pPageView; CPDF_Annot::Subtype m_nAnnotSubtype; + const TabOrder m_eTabOrder; std::vector<CPDFSDK_Annot*> m_Annots; }; |