summaryrefslogtreecommitdiff
path: root/xfa/src/fdp/include
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-12-17 10:37:41 -0800
committerTom Sepez <tsepez@chromium.org>2015-12-17 10:37:41 -0800
commit1871821653de9f4b1706d726f4d318cf739e55af (patch)
tree20e58a8f34ced5656e4a8d26d813737b2810e9f8 /xfa/src/fdp/include
parentfc75136232f1979217d7597b2c9c5966436eb1e1 (diff)
downloadpdfium-1871821653de9f4b1706d726f4d318cf739e55af.tar.xz
Remove FDE_Alloc in favor of FX_Alloc.
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1521163002 .
Diffstat (limited to 'xfa/src/fdp/include')
-rw-r--r--xfa/src/fdp/include/fde_mem.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/xfa/src/fdp/include/fde_mem.h b/xfa/src/fdp/include/fde_mem.h
index d16bb53d26..c05ab8e85b 100644
--- a/xfa/src/fdp/include/fde_mem.h
+++ b/xfa/src/fdp/include/fde_mem.h
@@ -4,20 +4,12 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef _FDE_MEM
-#define _FDE_MEM
+#ifndef FDE_MEM_H_
+#define FDE_MEM_H_
#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)
-#ifdef __cplusplus
-}
#define FDE_NewWith FXTARGET_NewWith
#define FDE_DeleteWith FXTARGET_DeleteWith
-#endif
-#endif
+
+#endif // FDE_MEM_H_