Index: src/effects/SkXfermodeImageFilter.cpp |
diff --git a/src/effects/SkXfermodeImageFilter.cpp b/src/effects/SkXfermodeImageFilter.cpp |
index 62daa5ae3bda7b5ab9ffd60b8307177b94f1fa63..c7e4143e117de6bedfb654d10ff864ae12087cbe 100644 |
--- a/src/effects/SkXfermodeImageFilter.cpp |
+++ b/src/effects/SkXfermodeImageFilter.cpp |
@@ -250,7 +250,7 @@ sk_sp<SkSpecialImage> SkXfermodeImageFilter::filterImageGPU( |
if (!drawContext) { |
return nullptr; |
} |
- paint.setAllowSRGBInputs(drawContext->isGammaCorrect()); |
+ paint.setGammaCorrect(drawContext->isGammaCorrect()); |
SkMatrix matrix; |
matrix.setTranslate(SkIntToScalar(-bounds.left()), SkIntToScalar(-bounds.top())); |