Index: src/effects/SkColorFilters.cpp |
diff --git a/src/effects/SkColorFilters.cpp b/src/effects/SkColorFilters.cpp |
index ece3295107e58d2beab55fb3341d4ee201837219..0c6a612355fecad8eefd615e44d23c7805917ff0 100644 |
--- a/src/effects/SkColorFilters.cpp |
+++ b/src/effects/SkColorFilters.cpp |
@@ -74,7 +74,7 @@ bool SkModeColorFilter::asFragmentProcessors(GrContext*, GrProcessorDataManager* |
SkTDArray<const GrFragmentProcessor*>* array) const { |
if (SkXfermode::kDst_Mode != fMode) { |
SkAutoTUnref<const GrFragmentProcessor> constFP( |
- GrConstColorProcessor::Create(SkColor2GrColor(fColor), |
+ GrConstColorProcessor::Create(SkColorToPremulGrColor(fColor), |
GrConstColorProcessor::kIgnore_InputMode)); |
const GrFragmentProcessor* fp = |
GrXfermodeFragmentProcessor::CreateFromSrcProcessor(constFP, fMode); |