Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 8b8528b7230d8a99d2b74d7283f26d5e515c3efd..2f334c6ba097d5a44ffeaddb93801643c195ac96 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -427,7 +427,7 @@ |
if (!drawContext) { |
return false; |
} |
- paint.addColorFragmentProcessor(fp); |
+ paint.addColorProcessor(fp); |
SkRect rect = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)); |
drawContext->drawRect(renderTarget, GrClip::WideOpen(), paint, matrix, rect, NULL); |
@@ -532,7 +532,7 @@ |
GrConfigConversionEffect::kNone_PMConversion, textureMatrix)); |
} |
if (fp) { |
- paint.addColorFragmentProcessor(fp); |
+ paint.addColorProcessor(fp); |
SkRect rect = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)); |
GrDrawContext* drawContext = this->drawContext(); |
drawContext->drawRect(temp->asRenderTarget(), GrClip::WideOpen(), paint, |