Index: src/codec/SkWebpCodec.cpp |
diff --git a/src/codec/SkWebpCodec.cpp b/src/codec/SkWebpCodec.cpp |
index 1f69b4f712b8a7402b15a745ca62d625ba26777b..e17aa7e9cc15cd178ff30d623f4e4f78cfc32fc0 100644 |
--- a/src/codec/SkWebpCodec.cpp |
+++ b/src/codec/SkWebpCodec.cpp |
@@ -77,7 +77,7 @@ SkCodec* SkWebpCodec::NewFromStream(SkStream* stream) { |
SkAutoTDelete<SkStream> streamDeleter(stream); |
SkImageInfo info; |
if (webp_parse_header(stream, &info)) { |
- return SkNEW_ARGS(SkWebpCodec, (info, streamDeleter.detach())); |
+ return new SkWebpCodec(info, streamDeleter.detach()); |
} |
return NULL; |
} |