From ae51c810a44844ef437393c1768be8f7766586b2 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 5 Aug 2015 12:34:06 -0700 Subject: 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 . --- xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp') diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp index 539572f5da..20eaa4c223 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp +++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp @@ -72,7 +72,7 @@ uint8_t* CBC_DataMatrixWriter::Encode(const CFX_WideString& contents, CBC_ErrorCorrection::encodeECC200(encoded, symbolInfo, e); BC_EXCEPTION_CHECK_ReturnValue(e, NULL); CBC_DefaultPlacement* placement = - FX_NEW CBC_DefaultPlacement(codewords, symbolInfo->getSymbolDataWidth(e), + new CBC_DefaultPlacement(codewords, symbolInfo->getSymbolDataWidth(e), symbolInfo->getSymbolDataHeight(e)); BC_EXCEPTION_CHECK_ReturnValue(e, NULL); placement->place(); @@ -109,7 +109,7 @@ CBC_CommonByteMatrix* CBC_DataMatrixWriter::encodeLowLevel( BC_EXCEPTION_CHECK_ReturnValue(e, NULL); int32_t symbolHeight = symbolInfo->getSymbolDataHeight(e); BC_EXCEPTION_CHECK_ReturnValue(e, NULL); - CBC_CommonByteMatrix* matrix = FX_NEW CBC_CommonByteMatrix( + CBC_CommonByteMatrix* matrix = new CBC_CommonByteMatrix( symbolInfo->getSymbolWidth(e), symbolInfo->getSymbolHeight(e)); BC_EXCEPTION_CHECK_ReturnValue(e, NULL); matrix->Init(); -- cgit v1.2.3