summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_hint_tables.h
diff options
context:
space:
mode:
authorArtem Strygin <art-snake@yandex-team.ru>2017-11-04 02:29:27 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-04 02:29:27 +0000
commit33591752d2cb14f2e07726ca52afce6efbdc07c9 (patch)
treedb67a3f8ed973928b61b71f1d491efa548629ced /core/fpdfapi/parser/cpdf_hint_tables.h
parentc5d5729700a4d145cd298ec52f6f57b2d11aaafe (diff)
downloadpdfium-33591752d2cb14f2e07726ca52afce6efbdc07c9.tar.xz
Simplify CPDF_HintsTable.
Use CPDF_LinearizedHeader directly. Change-Id: Id12402ef6e6f92fef68d0932df2e1ccb2dcf06aa Reviewed-on: https://pdfium-review.googlesource.com/15770 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_hint_tables.h')
-rw-r--r--core/fpdfapi/parser/cpdf_hint_tables.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/fpdfapi/parser/cpdf_hint_tables.h b/core/fpdfapi/parser/cpdf_hint_tables.h
index d5feb4638c..3664e1517c 100644
--- a/core/fpdfapi/parser/cpdf_hint_tables.h
+++ b/core/fpdfapi/parser/cpdf_hint_tables.h
@@ -38,14 +38,6 @@ class CPDF_HintTables {
bool ReadSharedObjHintTable(CFX_BitStream* hStream, uint32_t offset);
private:
- // Tests can override.
- virtual int GetEndOfFirstPageOffset() const;
- virtual int GetNumberOfPages() const;
- virtual int GetFirstPageObjectNumber() const;
- virtual int GetFirstPageNumber() const;
- virtual int ReadPrimaryHintStreamOffset() const;
- virtual int ReadPrimaryHintStreamLength() const;
-
uint32_t GetItemLength(uint32_t index,
const std::vector<FX_FILESIZE>& szArray) const;