summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_parser.cpp
diff options
context:
space:
mode:
authorArtem Strygin <art-snake@yandex-team.ru>2017-08-28 14:13:00 +0300
committerChromium commit bot <commit-bot@chromium.org>2017-08-28 15:20:20 +0000
commita8efb5183422e07210771c975e5ae7655957cc77 (patch)
tree605155a8d0468cf3cad53114ac5ffe913eca8710 /core/fpdfapi/parser/cpdf_parser.cpp
parent574d4408a5174bb410cf4ec3db24283671bcce79 (diff)
downloadpdfium-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.cpp2
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)