summaryrefslogtreecommitdiff
path: root/core/include/fxcrt
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-05-15 13:50:07 -0700
committerTom Sepez <tsepez@chromium.org>2015-05-15 13:50:07 -0700
commitdc0bd92913648910e35328cdaf3e992c91bd0e74 (patch)
treead846b5581cc075a80755acf89524e0c7a5e7cce /core/include/fxcrt
parent7f3b99a6a78e524613337f42a99b5634c0ad05f8 (diff)
downloadpdfium-dc0bd92913648910e35328cdaf3e992c91bd0e74.tar.xz
Remove FX_NEW_VECTOR() macros.
There isn't much point in having macros that obscure obvious language features. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1135273004
Diffstat (limited to 'core/include/fxcrt')
-rw-r--r--core/include/fxcrt/fx_memory.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/include/fxcrt/fx_memory.h b/core/include/fxcrt/fx_memory.h
index 4116e17450..25d82f69b7 100644
--- a/core/include/fxcrt/fx_memory.h
+++ b/core/include/fxcrt/fx_memory.h
@@ -24,9 +24,6 @@ void FXMEM_DefaultFree(void* pointer, int flags);
#ifdef __cplusplus
}
-#define FX_NEW_VECTOR(Pointer, Class, Count) (Pointer = new Class[Count])
-#define FX_DELETE_VECTOR(Pointer, Class, Count) delete[] Pointer
-
class CFX_DestructObject
{
public: