Index: src/core/SkPictureImageGenerator.cpp |
diff --git a/src/core/SkPictureImageGenerator.cpp b/src/core/SkPictureImageGenerator.cpp |
index acff84c1b4e3e1422edae471e62ef99d0fac27ba..13d3cc85c5a29758bf87675c4bf0feb795fe71e8 100644 |
--- a/src/core/SkPictureImageGenerator.cpp |
+++ b/src/core/SkPictureImageGenerator.cpp |
@@ -41,7 +41,7 @@ SkImageGenerator* SkPictureImageGenerator::Create(const SkISize& size, const SkP |
return nullptr; |
} |
- return SkNEW_ARGS(SkPictureImageGenerator, (size, picture, matrix, paint)); |
+ return new SkPictureImageGenerator(size, picture, matrix, paint); |
} |
SkPictureImageGenerator::SkPictureImageGenerator(const SkISize& size, const SkPicture* picture, |