| Index: core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp
|
| diff --git a/core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp b/core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp
|
| index f635e02e3a6e8c11118386347a59f1807158a4f4..e5b782ca1ce51e9b4c3e2ccce1fa6db17fd202d9 100644
|
| --- a/core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp
|
| +++ b/core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp
|
| @@ -9,7 +9,8 @@
|
| #include <vector>
|
|
|
| #include "core/include/fpdfapi/fpdf_module.h"
|
| -#include "core/include/fpdfapi/fpdf_parser.h"
|
| +#include "core/include/fpdfapi/fpdf_objects.h"
|
| +#include "core/include/fpdfapi/fpdf_parser_decode.h"
|
| #include "core/include/fpdfapi/ipdf_crypto_handler.h"
|
| #include "core/include/fxcrt/fx_ext.h"
|
| #include "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.h"
|
| @@ -468,7 +469,7 @@ CPDF_Object* CPDF_SyntaxParser::GetObject(CPDF_IndirectObjectHolder* pObjList,
|
|
|
| // Only when this is a signature dictionary and has contents, we reset the
|
| // contents to the un-decrypted form.
|
| - if (IsSignatureDict(pDict.get()) && dwSignValuePos) {
|
| + if (pDict->IsSignatureDict() && dwSignValuePos) {
|
| CFX_AutoRestorer<FX_FILESIZE> save_pos(&m_Pos);
|
| m_Pos = dwSignValuePos;
|
| pDict->SetAt("Contents", GetObject(pObjList, objnum, gennum, false));
|
|
|