Index: core/fpdfapi/parser/fpdf_parser_utility.cpp |
diff --git a/core/fpdfapi/parser/fpdf_parser_utility.cpp b/core/fpdfapi/parser/fpdf_parser_utility.cpp |
index 630754a23b4ce3607486d5998fffba0a002f05b1..ef37d8f39e35997850f2fb96059e64074977326c 100644 |
--- a/core/fpdfapi/parser/fpdf_parser_utility.cpp |
+++ b/core/fpdfapi/parser/fpdf_parser_utility.cpp |
@@ -7,6 +7,7 @@ |
#include "core/fpdfapi/parser/fpdf_parser_utility.h" |
#include "core/fpdfapi/parser/cpdf_array.h" |
+#include "core/fpdfapi/parser/cpdf_boolean.h" |
#include "core/fpdfapi/parser/cpdf_dictionary.h" |
#include "core/fpdfapi/parser/cpdf_number.h" |
#include "core/fpdfapi/parser/cpdf_reference.h" |
@@ -193,7 +194,7 @@ CFX_ByteTextBuf& operator<<(CFX_ByteTextBuf& buf, const CPDF_Object* pObj) { |
buf << "<<"; |
for (const auto& it : *p) { |
const CFX_ByteString& key = it.first; |
- CPDF_Object* pValue = it.second; |
+ CPDF_Object* pValue = it.second.get(); |
buf << "/" << PDF_NameEncode(key); |
if (pValue && !pValue->IsInline()) { |
buf << " " << pValue->GetObjNum() << " 0 R "; |