summaryrefslogtreecommitdiff
path: root/core/include/fxcrt
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-04-17 15:15:08 -0700
committerTom Sepez <tsepez@chromium.org>2015-04-17 15:15:08 -0700
commit4cb07c9c9cd5761ce3179d3d7254c1cf0efeafa5 (patch)
tree2549011fbc3d9d6b8415394a5dc6372a2b346b1e /core/include/fxcrt
parent48606843d54c5f870d69627afedd574b58d65b3e (diff)
downloadpdfium-4cb07c9c9cd5761ce3179d3d7254c1cf0efeafa5.tar.xz
Fix all remaining instances of FX_NEW.
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1084613006
Diffstat (limited to 'core/include/fxcrt')
-rw-r--r--core/include/fxcrt/fx_memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/fxcrt/fx_memory.h b/core/include/fxcrt/fx_memory.h
index 4d56736011..4e7c501318 100644
--- a/core/include/fxcrt/fx_memory.h
+++ b/core/include/fxcrt/fx_memory.h
@@ -25,7 +25,7 @@ void FXMEM_DefaultFree(void* pointer, int flags);
}
#define FX_NEW new
-#define FX_NEW_VECTOR(Pointer, Class, Count) (Pointer = FX_NEW Class[Count])
+#define FX_NEW_VECTOR(Pointer, Class, Count) (Pointer = new Class[Count])
#define FX_DELETE_VECTOR(Pointer, Class, Count) delete[] Pointer
class CFX_DestructObject