Index: core/fpdfdoc/cpdf_filespec.cpp |
diff --git a/core/fpdfdoc/cpdf_filespec.cpp b/core/fpdfdoc/cpdf_filespec.cpp |
index 3176eb51af3722e43a8f4a3c461d3a0f1e9013b1..8423d66fc7ac806bc6f5be9e5c2f2efe5a30fba8 100644 |
--- a/core/fpdfdoc/cpdf_filespec.cpp |
+++ b/core/fpdfdoc/cpdf_filespec.cpp |
@@ -110,8 +110,8 @@ bool CPDF_FileSpec::GetFileName(CFX_WideString* csFileName) const { |
return true; |
} |
-CPDF_FileSpec::CPDF_FileSpec() { |
- m_pObj = new CPDF_Dictionary; |
+CPDF_FileSpec::CPDF_FileSpec(const CFX_WeakPtr<CFX_ByteStringPool>& pPool) { |
+ m_pObj = new CPDF_Dictionary(pPool); |
m_pObj->AsDictionary()->SetNameFor("Type", "Filespec"); |
} |