Index: src/effects/SkTableColorFilter.cpp |
diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp |
index f0ed7b40c986ad7172018a37b72f1a663db68f5b..8f1a4d7e65644e7ac31f5858d28c87940991e8ce 100644 |
--- a/src/effects/SkTableColorFilter.cpp |
+++ b/src/effects/SkTableColorFilter.cpp |
@@ -475,8 +475,7 @@ const GrFragmentProcessor* ColorTableEffect::Create(GrContext* context, SkBitmap |
SkAutoTUnref<GrTexture> texture; |
if (-1 == row) { |
atlas = nullptr; |
- // Passing params=nullptr because this effect does no tiling or filtering. |
- texture.reset(GrRefCachedBitmapTexture(context, bitmap, nullptr)); |
+ texture.reset(GrRefCachedBitmapTexture(context, bitmap, GrTextureParams::ClampNoFilter())); |
} else { |
texture.reset(SkRef(atlas->getTexture())); |
} |