Index: src/images/SkImageDecoder_FactoryRegistrar.cpp |
diff --git a/src/images/SkImageDecoder_FactoryRegistrar.cpp b/src/images/SkImageDecoder_FactoryRegistrar.cpp |
index b47a6d5317dca15c71d83edcfe367363f9c4bdef..68202a96d92a693a99346eedd285c0de85dd5a85 100644 |
--- a/src/images/SkImageDecoder_FactoryRegistrar.cpp |
+++ b/src/images/SkImageDecoder_FactoryRegistrar.cpp |
@@ -31,7 +31,7 @@ SkImageDecoder* image_decoder_from_stream(SkStreamRewindable* stream) { |
// if we are given a stream that does not support rewinding. |
if (!rewindSuceeded) { |
SkDEBUGF(("Unable to rewind the image stream.")); |
- SkDELETE(codec); |
+ delete codec; |
return NULL; |
} |