diff options
author | Artem Strygin <art-snake@yandex-team.ru> | 2017-08-28 14:13:00 +0300 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-28 15:20:20 +0000 |
commit | a8efb5183422e07210771c975e5ae7655957cc77 (patch) | |
tree | 605155a8d0468cf3cad53114ac5ffe913eca8710 /core/fpdfapi/parser/cpdf_parser.cpp | |
parent | 574d4408a5174bb410cf4ec3db24283671bcce79 (diff) | |
download | pdfium-a8efb5183422e07210771c975e5ae7655957cc77.tar.xz |
Unify CPDF_SyntaxParser::GetObjectXXX methods.
Merge CPDF_SyntaxParser::GetObject and CPDF_SyntaxParser::GetObjectForStrict.
Change-Id: Ic9ff51e24ee981c268239847e3cca1c6f6a6f269
Reviewed-on: https://pdfium-review.googlesource.com/10511
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_parser.cpp')
-rw-r--r-- | core/fpdfapi/parser/cpdf_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_parser.cpp b/core/fpdfapi/parser/cpdf_parser.cpp index 3184d88943..167c1f438b 100644 --- a/core/fpdfapi/parser/cpdf_parser.cpp +++ b/core/fpdfapi/parser/cpdf_parser.cpp @@ -1296,7 +1296,7 @@ std::unique_ptr<CPDF_Object> CPDF_Parser::ParseIndirectObjectAtInternal( std::unique_ptr<CPDF_Object> pObj = strict_parse - ? m_pSyntax->GetObjectForStrict(pObjList, objnum, parser_gennum) + ? m_pSyntax->GetObjectForStrict(pObjList, objnum, parser_gennum, true) : m_pSyntax->GetObject(pObjList, objnum, parser_gennum, true); if (pResultPos) |