diff options
author | Artem Strygin <art-snake@yandex-team.ru> | 2017-11-02 14:40:38 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-02 14:40:38 +0000 |
commit | 1beb4a9c5ff7ac58450310493783ef7869f4de71 (patch) | |
tree | 8fc8c18dd575cccbfb22e98611af5c7a850371bb /core/fpdfapi/parser/cpdf_parser.h | |
parent | d4ef57288f19317de4e60a3b20425250cd6cd933 (diff) | |
download | pdfium-1beb4a9c5ff7ac58450310493783ef7869f4de71.tar.xz |
Unify parsing of linearized header.
Change-Id: I3b55b1331ee97af254c248d4ac91b627c9603b59
Reviewed-on: https://pdfium-review.googlesource.com/13831
Commit-Queue: Art Snake <art-snake@yandex-team.ru>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_parser.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_parser.h b/core/fpdfapi/parser/cpdf_parser.h index a58838e5fb..6c8cfbd0f8 100644 --- a/core/fpdfapi/parser/cpdf_parser.h +++ b/core/fpdfapi/parser/cpdf_parser.h @@ -166,7 +166,7 @@ class CPDF_Parser { bool LoadLinearizedAllCrossRefV5(FX_FILESIZE pos); Error LoadLinearizedMainXRefTable(); RetainPtr<CPDF_StreamAcc> GetObjectStream(uint32_t number); - bool ParseLinearizedHeader(); + std::unique_ptr<CPDF_LinearizedHeader> ParseLinearizedHeader(); void SetEncryptDictionary(CPDF_Dictionary* pDict); void ShrinkObjectMap(uint32_t size); // A simple check whether the cross reference table matches with |