Index: src/core/SkColorFilterShader.cpp |
diff --git a/src/core/SkColorFilterShader.cpp b/src/core/SkColorFilterShader.cpp |
index 500ead4f743119035413195b71fac11435d65c16..4ab232aa38dc515ea4c803a90449bf6ddf089410 100644 |
--- a/src/core/SkColorFilterShader.cpp |
+++ b/src/core/SkColorFilterShader.cpp |
@@ -98,13 +98,15 @@ void SkColorFilterShader::FilterShaderContext::shadeSpan4f(int x, int y, SkPM4f |
///////////////////////////////////////////////////////////////////// |
const GrFragmentProcessor* SkColorFilterShader::asFragmentProcessor( |
- GrContext* context, |
- const SkMatrix& viewM, |
- const SkMatrix* localMatrix, |
- SkFilterQuality fq) const { |
+ GrContext* context, |
+ const SkMatrix& viewM, |
+ const SkMatrix* localMatrix, |
+ SkFilterQuality fq, |
+ SkSourceGammaTreatment gammaTreatment) const { |
SkAutoTUnref<const GrFragmentProcessor> fp1(fShader->asFragmentProcessor(context, viewM, |
- localMatrix, fq)); |
+ localMatrix, fq, |
+ gammaTreatment)); |
if (!fp1.get()) { |
return nullptr; |
} |