summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_parser.h
diff options
context:
space:
mode:
authorArtem Strygin <art-snake@yandex-team.ru>2017-08-08 17:49:02 +0300
committerChromium commit bot <commit-bot@chromium.org>2017-08-09 15:58:43 +0000
commite13c4f887201e3cce33f927bfd6467e8e0263ea7 (patch)
tree489ac669431db51f460a87e9ea3397124342620e /core/fpdfapi/parser/cpdf_parser.h
parent23a824c69d098d17f788f73c273465d096d1fed0 (diff)
downloadpdfium-e13c4f887201e3cce33f927bfd6467e8e0263ea7.tar.xz
Unify CPDF_Parser::ParseIndirectObjectAtXXX methods.
Change-Id: I9ee1da4d0a9751dae8d595b610cf77c074c22cdc Reviewed-on: https://pdfium-review.googlesource.com/10350 Reviewed-by: dsinclair <dsinclair@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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/fpdfapi/parser/cpdf_parser.h b/core/fpdfapi/parser/cpdf_parser.h
index 189de168f4..c379905aed 100644
--- a/core/fpdfapi/parser/cpdf_parser.h
+++ b/core/fpdfapi/parser/cpdf_parser.h
@@ -187,6 +187,13 @@ class CPDF_Parser {
uint32_t* start_obj_num_at_last_block);
void MergeCrossRefObjectsData(const std::vector<CrossRefObjData>& objects);
+ std::unique_ptr<CPDF_Object> ParseIndirectObjectAtInternal(
+ CPDF_IndirectObjectHolder* pObjList,
+ FX_FILESIZE pos,
+ uint32_t objnum,
+ bool strict_parse,
+ FX_FILESIZE* pResultPos);
+
CFX_UnownedPtr<CPDF_Document> m_pDocument;
bool m_bHasParsed;
bool m_bXRefStream;