summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_hint_tables.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/parser/cpdf_hint_tables.h')
-rw-r--r--core/fpdfapi/parser/cpdf_hint_tables.h4
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;