| Index: core/fpdfdoc/cpvt_generateap.cpp
|
| diff --git a/core/fpdfdoc/cpvt_generateap.cpp b/core/fpdfdoc/cpvt_generateap.cpp
|
| index c8bba64b1e253288510b1a61df89ddbca4b8afd4..31d22422356697839f2132f77d2e7f1a1010e164 100644
|
| --- a/core/fpdfdoc/cpvt_generateap.cpp
|
| +++ b/core/fpdfdoc/cpvt_generateap.cpp
|
| @@ -61,7 +61,7 @@ bool GenerateWidgetAP(CPDF_Document* pDoc,
|
|
|
| CPDF_Dictionary* pFontDict = pDRFontDict->GetDictFor(sFontName.Mid(1));
|
| if (!pFontDict) {
|
| - pFontDict = pDoc->NewIndirect<CPDF_Dictionary>(pDoc->GetByteStringPool());
|
| + pFontDict = pDoc->NewIndirect<CPDF_Dictionary>();
|
| pFontDict->SetNameFor("Type", "Font");
|
| pFontDict->SetNameFor("Subtype", "Type1");
|
| pFontDict->SetNameFor("BaseFont", "Helvetica");
|
| @@ -572,8 +572,7 @@ std::unique_ptr<CPDF_Dictionary> GenerateExtGStateDict(
|
| std::unique_ptr<CPDF_Dictionary> GenerateResourceFontDict(
|
| CPDF_Document* pDoc,
|
| const CFX_ByteString& sFontDictName) {
|
| - CPDF_Dictionary* pFontDict =
|
| - pDoc->NewIndirect<CPDF_Dictionary>(pDoc->GetByteStringPool());
|
| + CPDF_Dictionary* pFontDict = pDoc->NewIndirect<CPDF_Dictionary>();
|
| pFontDict->SetNameFor("Type", "Font");
|
| pFontDict->SetNameFor("Subtype", "Type1");
|
| pFontDict->SetNameFor("BaseFont", "Helvetica");
|
|
|