diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-08-05 12:34:06 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-08-05 12:34:06 -0700 |
commit | ae51c810a44844ef437393c1768be8f7766586b2 (patch) | |
tree | 373bbfa8c8720af43d58a9982beea3ebf10c5d6d /fpdfsdk/src/fsdk_baseform.cpp | |
parent | e3166a8c39c8943f6cafb2ffe10bd9564e3eaf16 (diff) | |
download | pdfium-ae51c810a44844ef437393c1768be8f7766586b2.tar.xz |
Kill off last uses of FX_NEW in XFA.
It would seem that this never merged completely.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1277583002 .
Diffstat (limited to 'fpdfsdk/src/fsdk_baseform.cpp')
-rw-r--r-- | fpdfsdk/src/fsdk_baseform.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp index 5c76149a0d..d06fcc0947 100644 --- a/fpdfsdk/src/fsdk_baseform.cpp +++ b/fpdfsdk/src/fsdk_baseform.cpp @@ -2013,12 +2013,12 @@ void CPDFSDK_Widget::AddImageToAppearance(const CFX_ByteString& sAPType, CPDF_Dictionary* pStreamResList = pStreamDict->GetDict("Resources"); if (!pStreamResList) { - pStreamResList = FX_NEW CPDF_Dictionary(); + pStreamResList = new CPDF_Dictionary(); pStreamDict->SetAt("Resources", pStreamResList); } if (pStreamResList) { - CPDF_Dictionary* pXObject = FX_NEW CPDF_Dictionary; + CPDF_Dictionary* pXObject = new CPDF_Dictionary; pXObject->SetAtReference(sImageAlias, pDoc, pImage); pStreamResList->SetAt("XObject", pXObject); } |