| Index: src/effects/SkTableColorFilter.cpp
|
| diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp
|
| index 8b391eebf4d1ac6fac29b60e4ebcea63b373795c..3cab10737333ac8c9a3cc4f2108f56bdfaadd18a 100644
|
| --- a/src/effects/SkTableColorFilter.cpp
|
| +++ b/src/effects/SkTableColorFilter.cpp
|
| @@ -438,7 +438,7 @@ GrEffect* SkTable_ColorFilter::asNewEffect(GrContext* context) const {
|
| this->asComponentTable(&bitmap);
|
| // passing NULL because this effect does no tiling or filtering.
|
| GrTexture* texture = GrLockAndRefCachedBitmapTexture(context, bitmap, NULL);
|
| - if (NULL != texture) {
|
| + if (texture) {
|
| effect = ColorTableEffect::Create(texture, fFlags);
|
|
|
| // Unlock immediately, this is not great, but we don't have a way of
|
|
|