diff options
author | Artem Strygin <art-snake@yandex-team.ru> | 2017-10-30 10:44:01 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-30 10:44:01 +0000 |
commit | 7170226d20208e6286057e5c0804e0b549ae33bc (patch) | |
tree | 691ae1c1c1e78370843db1dd968b2660a34367df /core/fpdfapi/parser/cpdf_hint_tables.h | |
parent | 09b419242ed85acb6ddf64cddfaa7ca8fbb07b1a (diff) | |
download | pdfium-7170226d20208e6286057e5c0804e0b549ae33bc.tar.xz |
Add test for CPDF_HintsTable.
Change-Id: Ibda8e140791215faec52e6dbc33adea732373f6c
Reviewed-on: https://pdfium-review.googlesource.com/15810
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Art Snake <art-snake@yandex-team.ru>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_hint_tables.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_hint_tables.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/parser/cpdf_hint_tables.h b/core/fpdfapi/parser/cpdf_hint_tables.h index a9aa5d42d9..d5feb4638c 100644 --- a/core/fpdfapi/parser/cpdf_hint_tables.h +++ b/core/fpdfapi/parser/cpdf_hint_tables.h @@ -27,7 +27,7 @@ class CPDF_HintTables { bool GetPagePos(uint32_t index, FX_FILESIZE* szPageStartPos, FX_FILESIZE* szPageLength, - uint32_t* dwObjNum); + uint32_t* dwObjNum) const; CPDF_DataAvail::DocAvailStatus CheckPage(uint32_t index); @@ -47,7 +47,7 @@ class CPDF_HintTables { virtual int ReadPrimaryHintStreamLength() const; uint32_t GetItemLength(uint32_t index, - const std::vector<FX_FILESIZE>& szArray); + const std::vector<FX_FILESIZE>& szArray) const; // Owned by |m_pDataAvail|. UnownedPtr<CPDF_ReadValidator> m_pValidator; |