Index: src/images/SkImageDecoder_libbmp.cpp |
diff --git a/src/images/SkImageDecoder_libbmp.cpp b/src/images/SkImageDecoder_libbmp.cpp |
index 6647e1b668ed5751a4758b1a369809468fe91249..38845086c7547c255025428a0d25fdd22fb93f11 100644 |
--- a/src/images/SkImageDecoder_libbmp.cpp |
+++ b/src/images/SkImageDecoder_libbmp.cpp |
@@ -46,7 +46,7 @@ static bool is_bmp(SkStreamRewindable* stream) { |
static SkImageDecoder* sk_libbmp_dfactory(SkStreamRewindable* stream) { |
if (is_bmp(stream)) { |
- return SkNEW(SkBMPImageDecoder); |
+ return new SkBMPImageDecoder; |
} |
return NULL; |
} |