summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_parser.h
diff options
context:
space:
mode:
authorArtem Strygin <art-snake@yandex-team.ru>2017-09-01 18:52:30 +0300
committerChromium commit bot <commit-bot@chromium.org>2017-09-05 15:07:57 +0000
commitd2608a87173f00cb80830d56b52eeb588055ba3a (patch)
tree7cb97990ac1407f25c3f6415b346c7c049b649bc /core/fpdfapi/parser/cpdf_parser.h
parent088ca03f25fe1f6d75c0ff3b71e0ad3d018a5e0c (diff)
downloadpdfium-d2608a87173f00cb80830d56b52eeb588055ba3a.tar.xz
Move Parsing of indirect object logic into CPDF_SyntaxParser.
Change-Id: I5473d6db3e6fc247d52a83b34424958dc20387f4 Reviewed-on: https://pdfium-review.googlesource.com/12150 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_parser.h b/core/fpdfapi/parser/cpdf_parser.h
index 0db2aa7ba1..b4d0bee329 100644
--- a/core/fpdfapi/parser/cpdf_parser.h
+++ b/core/fpdfapi/parser/cpdf_parser.h
@@ -13,6 +13,7 @@
#include <set>
#include <vector>
+#include "core/fpdfapi/parser/cpdf_syntax_parser.h"
#include "core/fxcrt/cfx_retain_ptr.h"
#include "core/fxcrt/cfx_unowned_ptr.h"
#include "core/fxcrt/fx_string.h"
@@ -184,7 +185,7 @@ class CPDF_Parser {
CPDF_IndirectObjectHolder* pObjList,
FX_FILESIZE pos,
uint32_t objnum,
- bool strict_parse,
+ CPDF_SyntaxParser::ParseType parse_type,
FX_FILESIZE* pResultPos);
bool InitSyntaxParser(