Index: src/images/SkImageDecoder.cpp |
diff --git a/src/images/SkImageDecoder.cpp b/src/images/SkImageDecoder.cpp |
index 4a5e734628c213072981fdbbc850b6a01f13d932..b25e7dbbab1e9f64d9fe2b36486dbb21f63d66b9 100644 |
--- a/src/images/SkImageDecoder.cpp |
+++ b/src/images/SkImageDecoder.cpp |
@@ -271,7 +271,7 @@ bool SkImageDecoder::DecodeStream(SkStreamRewindable* stream, SkBitmap* bm, SkCo |
bool success = false; |
SkImageDecoder* codec = SkImageDecoder::Factory(stream); |
- if (NULL != codec) { |
+ if (codec) { |
success = codec->decode(stream, bm, pref, mode); |
if (success && format) { |
*format = codec->getFormat(); |