Index: core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp b/core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp |
index aeee3382f948326597163f07c7f5e9153e17c436..1a84fcb14226c19bd9e905a637af683baf977d09 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp |
+++ b/core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp |
@@ -17,6 +17,7 @@ |
#include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h" |
#include "core/fpdfapi/fpdf_parser/include/cpdf_string.h" |
#include "third_party/base/stl_util.h" |
+#include "third_party/base/logging.h" |
CPDF_Dictionary::CPDF_Dictionary() {} |
@@ -169,7 +170,7 @@ bool CPDF_Dictionary::IsSignatureDict() const { |
} |
void CPDF_Dictionary::SetFor(const CFX_ByteString& key, CPDF_Object* pObj) { |
- ASSERT(!pObj || pObj->GetObjNum() == 0); |
+ CHECK(!pObj || pObj->GetObjNum() == 0); |
auto it = m_Map.find(key); |
if (it == m_Map.end()) { |
if (pObj) |