| Index: core/fpdfdoc/cpdf_annotlist.cpp
|
| diff --git a/core/fpdfdoc/cpdf_annotlist.cpp b/core/fpdfdoc/cpdf_annotlist.cpp
|
| index 8ab99e55d257242068bcb6599f6563eba48d46d5..38d73460efdbe69a6e2a9099de0e32d91c9e0f5c 100644
|
| --- a/core/fpdfdoc/cpdf_annotlist.cpp
|
| +++ b/core/fpdfdoc/cpdf_annotlist.cpp
|
| @@ -30,7 +30,8 @@ std::unique_ptr<CPDF_Annot> CreatePopupAnnot(CPDF_Annot* pAnnot,
|
| if (sContents.IsEmpty())
|
| return std::unique_ptr<CPDF_Annot>();
|
|
|
| - CPDF_Dictionary* pAnnotDict = new CPDF_Dictionary;
|
| + CPDF_Dictionary* pAnnotDict =
|
| + new CPDF_Dictionary(pDocument->GetByteStringPool());
|
| pAnnotDict->SetNameFor("Type", "Annot");
|
| pAnnotDict->SetNameFor("Subtype", "Popup");
|
| pAnnotDict->SetStringFor("T", pParentDict->GetStringFor("T"));
|
|
|