Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index cb2221c924a5333446fe8d531272eb59cfffb1c5..23151d48338745a44f3b80a3b5b07f19d4a64730 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -963,7 +963,7 @@ |
} |
// The bitmap read has to be first |
- grPaint.addColorFragmentProcessor(fp); |
+ grPaint.addColorProcessor(fp); |
if (!SkPaint2GrPaintNoShader(context, renderTarget, paint, SkColor2GrColor(paint.getColor()), |
false, &grPaint)) { |
return; |
@@ -1305,7 +1305,7 @@ |
SkMatrix::I(), params)); |
} |
- grPaint.addColorFragmentProcessor(fp); |
+ grPaint.addColorProcessor(fp); |
bool alphaOnly = !(kAlpha_8_SkColorType == bitmap.colorType()); |
GrColor paintColor = (alphaOnly) ? SkColor2GrColorJustAlpha(paint.getColor()) : |
SkColor2GrColor(paint.getColor()); |