Index: include/core/SkPostConfig.h |
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h |
index f4ce1028584feaee49959d1ceed0d65fe64e4186..f22893730523a16b746698b23e2002d6c147f794 100644 |
--- a/include/core/SkPostConfig.h |
+++ b/include/core/SkPostConfig.h |
@@ -100,16 +100,8 @@ |
/////////////////////////////////////////////////////////////////////////////// |
-#ifndef SkNEW |
-# include <new> |
-# define SkNEW(type_name) (new type_name) |
-# define SkNEW_ARGS(type_name, args) (new type_name args) |
-# define SkNEW_ARRAY(type_name, count) (new type_name[(count)]) |
-# define SkNEW_PLACEMENT(buf, type_name) (new (buf) type_name) |
-# define SkNEW_PLACEMENT_ARGS(buf, type_name, args) (new (buf) type_name args) |
-# define SkDELETE(obj) (delete (obj)) |
-# define SkDELETE_ARRAY(array) (delete[] (array)) |
-#endif |
+// TODO(mdempsky): Move elsewhere as appropriate. |
+#include <new> |
#ifndef SK_CRASH |
# ifdef SK_BUILD_FOR_WIN |