Index: core/fpdfapi/fpdf_parser/cpdf_stream.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_stream.cpp b/core/fpdfapi/fpdf_parser/cpdf_stream.cpp |
index cc584b78b3879942d579a114a927b9f2f5ba9899..3b047205c470c03dc5bad279282850424e680950 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_stream.cpp |
+++ b/core/fpdfapi/fpdf_parser/cpdf_stream.cpp |
@@ -93,7 +93,7 @@ void CPDF_Stream::SetData(const uint8_t* pData, uint32_t size) { |
FXSYS_memcpy(m_pDataBuf.get(), pData, size); |
m_dwSize = size; |
if (!m_pDict) |
- m_pDict.reset(new CPDF_Dictionary); |
+ m_pDict.reset(new CPDF_Dictionary(CFX_WeakPtr<CFX_ByteStringPool>())); |
m_pDict->SetIntegerFor("Length", size); |
m_pDict->RemoveFor("Filter"); |
m_pDict->RemoveFor("DecodeParms"); |