Chromium Code Reviews| Index: src/utils/SkTextureCompressor.cpp |
| diff --git a/src/utils/SkTextureCompressor.cpp b/src/utils/SkTextureCompressor.cpp |
| index 0dfc2291932cff89e93fe55a04a4286f764e4b19..07b58c5a607639f64df06fd2174d83a04b9cb97f 100644 |
| --- a/src/utils/SkTextureCompressor.cpp |
| +++ b/src/utils/SkTextureCompressor.cpp |
| @@ -166,7 +166,7 @@ bool CompressBufferToFormat(uint8_t* dst, const uint8_t* src, SkColorType srcCol |
| } |
| } |
| - if (NULL != proc) { |
| + if (proc) { |
| return proc(dst, src, width, height, rowBytes); |
| } |