| Index: include/core/SkPostConfig.h
|
| diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
|
| index 64768c6faf82ca763080ce0a22586360b1eebae6..a273506f7a609557e53bca6282d262caec1fbd7f 100644
|
| --- a/include/core/SkPostConfig.h
|
| +++ b/include/core/SkPostConfig.h
|
| @@ -96,8 +96,8 @@
|
| #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 SkNEW_PLACEMENT_ARGS(buf, type_name, args) (new (buf) type_name args)
|
| + #define SkNEW_PLACEMENT_ARRAY(buf, type_name, count) (new (buf) type_name[(count)])
|
| #define SkDELETE(obj) (delete (obj))
|
| #define SkDELETE_ARRAY(array) (delete[] (array))
|
| #endif
|
|
|