Index: src/images/SkImageDecoder_pkm.cpp |
diff --git a/src/images/SkImageDecoder_pkm.cpp b/src/images/SkImageDecoder_pkm.cpp |
index 9e1a2aaf8c9a529ffa0efecd142d6f1c388346f9..f407308d8b4643c997a0da18600cb1f3e779cd7d 100644 |
--- a/src/images/SkImageDecoder_pkm.cpp |
+++ b/src/images/SkImageDecoder_pkm.cpp |
@@ -111,7 +111,7 @@ static bool is_pkm(SkStreamRewindable* stream) { |
static SkImageDecoder* sk_libpkm_dfactory(SkStreamRewindable* stream) { |
if (is_pkm(stream)) { |
- return SkNEW(SkPKMImageDecoder); |
+ return new SkPKMImageDecoder; |
} |
return NULL; |
} |