Index: src/images/SkImageDecoder_astc.cpp |
diff --git a/src/images/SkImageDecoder_astc.cpp b/src/images/SkImageDecoder_astc.cpp |
index 869acfb6b9f07990f98e30c7291d19470b988945..cb29b4da54598692653591e9be87ac7fbe1dd5a3 100644 |
--- a/src/images/SkImageDecoder_astc.cpp |
+++ b/src/images/SkImageDecoder_astc.cpp |
@@ -186,7 +186,7 @@ static bool is_astc(SkStreamRewindable* stream) { |
static SkImageDecoder* sk_libastc_dfactory(SkStreamRewindable* stream) { |
if (is_astc(stream)) { |
- return SkNEW(SkASTCImageDecoder); |
+ return new SkASTCImageDecoder; |
} |
return NULL; |
} |