summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/BC_UtilRSS.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-05 12:34:06 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-05 12:34:06 -0700
commitae51c810a44844ef437393c1768be8f7766586b2 (patch)
tree373bbfa8c8720af43d58a9982beea3ebf10c5d6d /xfa/src/fxbarcode/BC_UtilRSS.cpp
parente3166a8c39c8943f6cafb2ffe10bd9564e3eaf16 (diff)
downloadpdfium-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 'xfa/src/fxbarcode/BC_UtilRSS.cpp')
-rw-r--r--xfa/src/fxbarcode/BC_UtilRSS.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/src/fxbarcode/BC_UtilRSS.cpp b/xfa/src/fxbarcode/BC_UtilRSS.cpp
index d7207016bb..3316377e02 100644
--- a/xfa/src/fxbarcode/BC_UtilRSS.cpp
+++ b/xfa/src/fxbarcode/BC_UtilRSS.cpp
@@ -29,7 +29,7 @@ CFX_Int32Array* CBC_UtilRSS::GetRssWidths(int32_t val,
int32_t elements,
int32_t maxWidth,
FX_BOOL noNarrow) {
- CFX_Int32Array* iTemp = FX_NEW CFX_Int32Array;
+ CFX_Int32Array* iTemp = new CFX_Int32Array;
iTemp->SetSize(elements);
CBC_AutoPtr<CFX_Int32Array> widths(iTemp);
int32_t bar;
@@ -131,7 +131,7 @@ int32_t CBC_UtilRSS::Combins(int32_t n, int32_t r) {
CFX_Int32Array* CBC_UtilRSS::Elements(CFX_Int32Array& eDist,
int32_t N,
int32_t K) {
- CFX_Int32Array* widths = FX_NEW CFX_Int32Array;
+ CFX_Int32Array* widths = new CFX_Int32Array;
widths->SetSize(eDist.GetSize() + 2);
int32_t twoK = K << 1;
(*widths)[0] = 1;