diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-06-16 16:00:24 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-06-16 16:00:24 -0700 |
commit | 6c949d13ad2543e28cf174ecf457b5adcdf213bf (patch) | |
tree | e3d442fe5a39352c5edf9cb4fb677f6a23d0db4b /xfa/src/fgas/src/font/fx_gefont.cpp | |
parent | 3403db90496fc87269d7bb1d033347ee19fc0c38 (diff) | |
download | pdfium-6c949d13ad2543e28cf174ecf457b5adcdf213bf.tar.xz |
XFA: Write new as "new" rather than using several macros.
Really?
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1183193004.
Diffstat (limited to 'xfa/src/fgas/src/font/fx_gefont.cpp')
-rw-r--r-- | xfa/src/fgas/src/font/fx_gefont.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/src/fgas/src/font/fx_gefont.cpp b/xfa/src/fgas/src/font/fx_gefont.cpp index c9948cfa4f..e0ad4a9260 100644 --- a/xfa/src/fgas/src/font/fx_gefont.cpp +++ b/xfa/src/fgas/src/font/fx_gefont.cpp @@ -155,10 +155,10 @@ CFX_GEFont::~CFX_GEFont() delete m_pFontEncoding;
}
if (m_pCharWidthMap != NULL) {
- FXTARGET_Delete m_pCharWidthMap;
+ delete m_pCharWidthMap;
}
if (m_pRectArray != NULL) {
- FXTARGET_Delete m_pRectArray;
+ delete m_pRectArray;
}
if (m_pBBoxMap != NULL) {
delete m_pBBoxMap;
@@ -339,10 +339,10 @@ void CFX_GEFont::InitFont() #endif
}
if (m_pCharWidthMap == NULL) {
- m_pCharWidthMap = FXTARGET_New CFX_WordDiscreteArray(1024);
+ m_pCharWidthMap = new CFX_WordDiscreteArray(1024);
}
if (m_pRectArray == NULL) {
- m_pRectArray = FXTARGET_New CFX_RectMassArray(16);
+ m_pRectArray = new CFX_RectMassArray(16);
}
if (m_pBBoxMap == NULL) {
m_pBBoxMap = FX_NEW CFX_MapPtrToPtr(16);
|