Index: src/ports/SkImageDecoder_WIC.cpp |
diff --git a/src/ports/SkImageDecoder_WIC.cpp b/src/ports/SkImageDecoder_WIC.cpp |
index 55344a7c184a258c3f157aaa8a2af8a5c4d58fc3..919483135cf4882dcc500e6749ad1217b7e183d1 100644 |
--- a/src/ports/SkImageDecoder_WIC.cpp |
+++ b/src/ports/SkImageDecoder_WIC.cpp |
@@ -256,7 +256,7 @@ SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable* stream) { |
SkImageDecoder* decoder = image_decoder_from_stream(stream); |
if (NULL == decoder) { |
// If no image decoder specific to the stream exists, use SkImageDecoder_WIC. |
- return SkNEW(SkImageDecoder_WIC); |
+ return new SkImageDecoder_WIC; |
} else { |
return decoder; |
} |
@@ -447,7 +447,7 @@ static SkImageEncoder* sk_imageencoder_wic_factory(SkImageEncoder::Type t) { |
default: |
return NULL; |
} |
- return SkNEW_ARGS(SkImageEncoder_WIC, (t)); |
+ return new SkImageEncoder_WIC(t); |
} |
static SkImageEncoder_EncodeReg gEReg(sk_imageencoder_wic_factory); |