diff options
author | Artem Strygin <art-snake@yandex-team.ru> | 2018-06-13 18:37:56 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-13 18:37:56 +0000 |
commit | 437e5e4f03ea190c195c35a6cfdefef03cb50d10 (patch) | |
tree | 147299d564131d945ec3d32b85f2726b39198731 /core/fpdfapi/parser/cpdf_hint_tables.h | |
parent | 4c48b107c6d1e3d3029910062368d8d954e8f28a (diff) | |
download | pdfium-437e5e4f03ea190c195c35a6cfdefef03cb50d10.tar.xz |
Merge the offset calculation logic within CPDF_HintsTable.
Change-Id: If120ee16c53117ae148447e141cbbd8143194b36
Reviewed-on: https://pdfium-review.googlesource.com/15811
Commit-Queue: Art Snake <art-snake@yandex-team.ru>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_hint_tables.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_hint_tables.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fpdfapi/parser/cpdf_hint_tables.h b/core/fpdfapi/parser/cpdf_hint_tables.h index 3664e1517c..c51d95a255 100644 --- a/core/fpdfapi/parser/cpdf_hint_tables.h +++ b/core/fpdfapi/parser/cpdf_hint_tables.h @@ -41,6 +41,8 @@ class CPDF_HintTables { uint32_t GetItemLength(uint32_t index, const std::vector<FX_FILESIZE>& szArray) const; + FX_FILESIZE HintsOffsetToFileOffset(uint32_t hints_offset) const; + // Owned by |m_pDataAvail|. UnownedPtr<CPDF_ReadValidator> m_pValidator; |