Index: src/android/SkBitmapRegionDecoder.cpp |
diff --git a/src/android/SkBitmapRegionDecoder.cpp b/src/android/SkBitmapRegionDecoder.cpp |
index 62cf846a2adea16b61fe1477b5ec63556fdd7721..7dc05059e1b76255f307cda621bc02a5d3856584 100644 |
--- a/src/android/SkBitmapRegionDecoder.cpp |
+++ b/src/android/SkBitmapRegionDecoder.cpp |
@@ -49,9 +49,9 @@ |
case kAndroidCodec_Strategy: { |
SkAutoTDelete<SkAndroidCodec> codec = |
SkAndroidCodec::NewFromStream(streamDeleter.detach()); |
- if (!codec) { |
+ if (NULL == codec) { |
SkCodecPrintf("Error: Failed to create codec.\n"); |
- return nullptr; |
+ return NULL; |
} |
return new SkBitmapRegionCodec(codec.detach()); |
} |