Index: tests/RecordTest.cpp |
diff --git a/tests/RecordTest.cpp b/tests/RecordTest.cpp |
index b510da76733ed066bfc48b79f56db77e2a194058..cf8c6028bc918bdb4c91d8437af5cbeab6f56385 100644 |
--- a/tests/RecordTest.cpp |
+++ b/tests/RecordTest.cpp |
@@ -51,7 +51,7 @@ struct Stretch { |
} |
}; |
-#define APPEND(record, type, ...) SkNEW_PLACEMENT_ARGS(record.append<type>(), type, (__VA_ARGS__)) |
+#define APPEND(record, type, ...) new (record.append<type>()) type(__VA_ARGS__) |
// Basic tests for the low-level SkRecord code. |
DEF_TEST(Record, r) { |