Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index aefa38982d5f4d9ab6ef29724cd363fe290213ed..722f7444e5814f6cdf50c4e02ad8972254f58568 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -963,7 +963,7 @@ static void draw_aa_bitmap(GrDrawContext* drawContext, GrContext* context, |
} |
// The bitmap read has to be first |
- grPaint.addColorProcessor(fp); |
+ grPaint.addColorFragmentProcessor(fp); |
if (!SkPaint2GrPaintNoShader(context, renderTarget, paint, SkColor2GrColor(paint.getColor()), |
false, &grPaint)) { |
return; |
@@ -1305,7 +1305,7 @@ void SkGpuDevice::internalDrawBitmap(const SkBitmap& bitmap, |
SkMatrix::I(), params)); |
} |
- grPaint.addColorProcessor(fp); |
+ grPaint.addColorFragmentProcessor(fp); |
bool alphaOnly = !(kAlpha_8_SkColorType == bitmap.colorType()); |
GrColor paintColor = (alphaOnly) ? SkColor2GrColorJustAlpha(paint.getColor()) : |
SkColor2GrColor(paint.getColor()); |