| Index: include/core/SkAnnotation.h
|
| diff --git a/include/core/SkAnnotation.h b/include/core/SkAnnotation.h
|
| index 62c844a3cae900c4e5d18f6e55ccad6f58a3f28d..80503c78d21dad490662cceda0e50de35d4cd3a5 100644
|
| --- a/include/core/SkAnnotation.h
|
| +++ b/include/core/SkAnnotation.h
|
| @@ -26,12 +26,10 @@ public:
|
| virtual ~SkAnnotation();
|
|
|
| static SkAnnotation* Create(const char key[], SkData* value) {
|
| - return SkNEW_ARGS(SkAnnotation, (key, value));
|
| + return new SkAnnotation(key, value);
|
| }
|
|
|
| - static SkAnnotation* Create(SkReadBuffer& buffer) {
|
| - return SkNEW_ARGS(SkAnnotation, (buffer));
|
| - }
|
| + static SkAnnotation* Create(SkReadBuffer& buffer) { return new SkAnnotation(buffer); }
|
|
|
| /**
|
| * Return the data for the specified key, or NULL.
|
|
|