Index: src/effects/SkTableColorFilter.cpp |
diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp |
index 0994097e6a23a257b109d689ffaedb9d343949a8..e87a0537354f000cef90fb0c4bcbfe74fdf8841d 100644 |
--- a/src/effects/SkTableColorFilter.cpp |
+++ b/src/effects/SkTableColorFilter.cpp |
@@ -473,7 +473,8 @@ const GrFragmentProcessor* ColorTableEffect::Create(GrContext* context, SkBitmap |
SkAutoTUnref<GrTexture> texture; |
if (-1 == row) { |
atlas = nullptr; |
- texture.reset(GrRefCachedBitmapTexture(context, bitmap, GrTextureParams::ClampNoFilter())); |
+ texture.reset(GrRefCachedBitmapTexture(context, bitmap, GrTextureParams::ClampNoFilter(), |
+ SkSourceGammaTreatment::kRespect)); |
} else { |
texture.reset(SkRef(atlas->getTexture())); |
} |