Index: src/images/SkImageDecoder_libwebp.cpp |
diff --git a/src/images/SkImageDecoder_libwebp.cpp b/src/images/SkImageDecoder_libwebp.cpp |
index a7c9610d07ad0d7313406dd79d9a644cede5b22f..e0c1d645e7ad23b551b25141ee014336deb70d3a 100644 |
--- a/src/images/SkImageDecoder_libwebp.cpp |
+++ b/src/images/SkImageDecoder_libwebp.cpp |
@@ -657,7 +657,7 @@ static SkImageDecoder* sk_libwebp_dfactory(SkStreamRewindable* stream) { |
} |
// Magic matches, call decoder |
- return SkNEW(SkWEBPImageDecoder); |
+ return new SkWEBPImageDecoder; |
} |
static SkImageDecoder::Format get_format_webp(SkStreamRewindable* stream) { |
@@ -669,7 +669,7 @@ static SkImageDecoder::Format get_format_webp(SkStreamRewindable* stream) { |
} |
static SkImageEncoder* sk_libwebp_efactory(SkImageEncoder::Type t) { |
- return (SkImageEncoder::kWEBP_Type == t) ? SkNEW(SkWEBPImageEncoder) : NULL; |
+ return (SkImageEncoder::kWEBP_Type == t) ? new SkWEBPImageEncoder : NULL; |
} |
static SkImageDecoder_DecodeReg gDReg(sk_libwebp_dfactory); |