summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fsdk_baseform.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-04-17 13:57:46 -0700
committerTom Sepez <tsepez@chromium.org>2015-04-17 13:57:46 -0700
commit48606843d54c5f870d69627afedd574b58d65b3e (patch)
treeb8c8fe92e99f2deea542611dfb21e94a2c06541d /fpdfsdk/src/fsdk_baseform.cpp
parent916228365f7f03a51e5fb0e4bab03fa708b107c5 (diff)
downloadpdfium-48606843d54c5f870d69627afedd574b58d65b3e.tar.xz
Replace FX_NEW with new, remove tests from fpdfsdk
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1089823004
Diffstat (limited to 'fpdfsdk/src/fsdk_baseform.cpp')
-rw-r--r--fpdfsdk/src/fsdk_baseform.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp
index a53e914b5c..6c8069b92a 100644
--- a/fpdfsdk/src/fsdk_baseform.cpp
+++ b/fpdfsdk/src/fsdk_baseform.cpp
@@ -1564,13 +1564,13 @@ void CPDFSDK_Widget::AddImageToAppearance(const CFX_ByteString& sAPType, CPDF_St
CPDF_Dictionary* pStreamResList = pStreamDict->GetDict("Resources");
if (!pStreamResList)
{
- pStreamResList = FX_NEW CPDF_Dictionary();
+ pStreamResList = new CPDF_Dictionary();
pStreamDict->SetAt("Resources", pStreamResList);
}
- if (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);
}