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/fdp/include | |
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/fdp/include')
-rw-r--r-- | xfa/src/fdp/include/fde_mem.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/xfa/src/fdp/include/fde_mem.h b/xfa/src/fdp/include/fde_mem.h index a7eb40a9e2..27c6a29a0b 100644 --- a/xfa/src/fdp/include/fde_mem.h +++ b/xfa/src/fdp/include/fde_mem.h @@ -6,18 +6,18 @@ #ifndef _FDE_MEM
#define _FDE_MEM
+
+#include "../../../../core/include/fxcrt/fx_memory.h"
+
#ifdef __cplusplus
extern "C" {
#endif
-#define FDE_Alloc(size) FX_Alloc(uint8_t, size)
-#define FDE_Realloc(ptr, newSize) FX_Realloc(uint8_t, ptr, newSize)
-#define FDE_Free(ptr) FX_Free(ptr)
-#define FDE_New FXTARGET_New
-#define FDE_Delete FXTARGET_Delete
-#define FDE_NewWith FXTARGET_NewWith
-#define FDE_DeleteWith FXTARGET_DeleteWith
-
+#define FDE_Alloc(size) FX_Alloc(uint8_t, size)
+#define FDE_Realloc(ptr, newSize) FX_Realloc(uint8_t, ptr, newSize)
+#define FDE_Free(ptr) FX_Free(ptr)
#ifdef __cplusplus
-};
+}
+#define FDE_NewWith FXTARGET_NewWith
+#define FDE_DeleteWith FXTARGET_DeleteWith
#endif
#endif
|