summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_parser.h
diff options
context:
space:
mode:
authorArtem Strygin <art-snake@yandex-team.ru>2018-08-02 11:01:08 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-02 11:01:08 +0000
commitb07deb3fc1f54bd700a66df573bfcbc4bcc1d787 (patch)
tree1da57aa7633b2059e28afb2cb41227644f4e87ac /core/fpdfapi/parser/cpdf_parser.h
parent649929af2140621d7bc50a532704f5d7be81637e (diff)
downloadpdfium-b07deb3fc1f54bd700a66df573bfcbc4bcc1d787.tar.xz
Rework of CPDF_Parser::GetLastObjNum.
Change-Id: I0481774858a9d9823580e1207807e35be8a9eea9 Reviewed-on: https://pdfium-review.googlesource.com/36270 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Art Snake <art-snake@yandex-team.ru>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_parser.h')
-rw-r--r--core/fpdfapi/parser/cpdf_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_parser.h b/core/fpdfapi/parser/cpdf_parser.h
index c07c932cf4..81d23e65b9 100644
--- a/core/fpdfapi/parser/cpdf_parser.h
+++ b/core/fpdfapi/parser/cpdf_parser.h
@@ -145,7 +145,7 @@ class CPDF_Parser {
Error LoadLinearizedMainXRefTable();
const CPDF_ObjectStream* GetObjectStream(uint32_t object_number);
std::unique_ptr<CPDF_LinearizedHeader> ParseLinearizedHeader();
- void ShrinkObjectMap(uint32_t size);
+ void ShrinkObjectMap(uint32_t max_size);
// A simple check whether the cross reference table matches with
// the objects.
bool VerifyCrossRefV4();