Index: src/image/SkImage_Generator.cpp |
diff --git a/src/image/SkImage_Generator.cpp b/src/image/SkImage_Generator.cpp |
index 0f1fa3692c8e3dd7a88b46acdc74642555a16e54..4981f37c089bea4a9d9dbb1dede2a19adf153636 100644 |
--- a/src/image/SkImage_Generator.cpp |
+++ b/src/image/SkImage_Generator.cpp |
@@ -89,5 +89,5 @@ SkImage* SkImage::NewFromGenerator(SkImageGenerator* generator, const SkIRect* s |
if (!cache) { |
return nullptr; |
} |
- return SkNEW_ARGS(SkImage_Generator, (cache)); |
+ return new SkImage_Generator(cache); |
} |