diff options
author | Artem Strygin <art-snake@yandex-team.ru> | 2017-08-23 17:53:13 +0300 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-28 20:26:03 +0000 |
commit | 03371b8bb8459b96ceefa89d6b5ba2d08683614b (patch) | |
tree | 742d30f70f24118c3d64ecf909da3171c94e6161 /core/fpdfapi/parser/cpdf_data_avail.h | |
parent | d1ed1ce582efc877487c749924e21772e73df6a2 (diff) | |
download | pdfium-03371b8bb8459b96ceefa89d6b5ba2d08683614b.tar.xz |
Unify CPDF_DataAvail::CheckCrossRef.
Use read validator to check cross ref table availability
Change-Id: I050c366a255598ca6d8bcd353afa94c4a09c33a9
Reviewed-on: https://pdfium-review.googlesource.com/11730
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_data_avail.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_data_avail.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_data_avail.h b/core/fpdfapi/parser/cpdf_data_avail.h index db134dd3f5..e704e12900 100644 --- a/core/fpdfapi/parser/cpdf_data_avail.h +++ b/core/fpdfapi/parser/cpdf_data_avail.h @@ -133,7 +133,7 @@ class CPDF_DataAvail final { bool CheckFirstPage(DownloadHints* pHints); bool CheckHintTables(DownloadHints* pHints); bool CheckEnd(); - bool CheckCrossRef(DownloadHints* pHints); + bool CheckCrossRef(); bool CheckCrossRefItem(); bool CheckTrailer(DownloadHints* pHints); bool CheckRoot(); |