Index: src/core/SkShader.cpp |
diff --git a/src/core/SkShader.cpp b/src/core/SkShader.cpp |
index 2a1c28e0cf8684ebcc57035080f12b9f5f15eb67..6aadb4301a9eca2533c6c96ac3694d79ed596e9a 100644 |
--- a/src/core/SkShader.cpp |
+++ b/src/core/SkShader.cpp |
@@ -335,7 +335,7 @@ SkShader::GradientType SkColorShader::asAGradient(GradientInfo* info) const { |
const GrFragmentProcessor* SkColorShader::asFragmentProcessor(GrContext*, const SkMatrix&, |
const SkMatrix*, SkFilterQuality, |
GrProcessorDataManager*) const { |
- GrColor color = SkColor2GrColor(fColor); |
+ GrColor color = SkColorToPremulGrColor(fColor); |
return GrConstColorProcessor::Create(color, GrConstColorProcessor::kModulateA_InputMode); |
} |