Index: src/core/SkMallocPixelRef.cpp |
diff --git a/src/core/SkMallocPixelRef.cpp b/src/core/SkMallocPixelRef.cpp |
index ae29310aeaa1c98ada34da6b5c403c4cdef99cf9..f4ba969662589131351aa7efa6141a1f9b53267b 100644 |
--- a/src/core/SkMallocPixelRef.cpp |
+++ b/src/core/SkMallocPixelRef.cpp |
@@ -30,7 +30,7 @@ static bool is_valid(const SkImageInfo& info, SkColorTable* ctable) { |
if (kIndex8_SkColorType == info.fColorType && NULL == ctable) { |
return false; |
} |
- if (kIndex8_SkColorType != info.fColorType && NULL != ctable) { |
+ if (kIndex8_SkColorType != info.fColorType && ctable) { |
return false; |
} |
#endif |