| Index: src/effects/SkColorMatrixFilter.cpp
|
| diff --git a/src/effects/SkColorMatrixFilter.cpp b/src/effects/SkColorMatrixFilter.cpp
|
| index beed67efcfa8c93fc23ff7d566781eb16fe2caa3..566704849be0cf21ef4c210765c3a8e191e278e5 100644
|
| --- a/src/effects/SkColorMatrixFilter.cpp
|
| +++ b/src/effects/SkColorMatrixFilter.cpp
|
| @@ -186,7 +186,7 @@ void SkColorMatrixFilter::initState(const SkScalar* SK_RESTRICT src) {
|
| analyze the array, so we don't miss the case where the caller has zeros
|
| which could make us accidentally take the General or Add case.
|
| */
|
| - if (NULL != fProc) {
|
| + if (fProc) {
|
| int32_t add = 1 << (fState.fShift - 1);
|
| array[4] += add;
|
| array[9] += add;
|
|
|