Index: src/core/SkAnnotation.cpp |
diff --git a/src/core/SkAnnotation.cpp b/src/core/SkAnnotation.cpp |
index 6ba645ffed578dd940a7ec2fd9ae0e532b034a50..bddff64db84c6dff3dcd200f6942a5848e27bd1d 100644 |
--- a/src/core/SkAnnotation.cpp |
+++ b/src/core/SkAnnotation.cpp |
@@ -56,7 +56,7 @@ const char* SkAnnotationKeys::Link_Named_Dest_Key() { |
#include "SkCanvas.h" |
static void annotate_paint(SkPaint& paint, const char* key, SkData* value) { |
- paint.setAnnotation(SkNEW_ARGS(SkAnnotation, (key, value)))->unref(); |
+ paint.setAnnotation(SkAnnotation::Create(key, value))->unref(); |
} |
void SkAnnotateRectWithURL(SkCanvas* canvas, const SkRect& rect, SkData* value) { |