Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 3a1ca135b2fcbebd1de9fe54ef1abfe00ee417ec..0e0131312bfc7fb9eaaa967f9e3b20faf64ac07d 100644 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -427,7 +427,7 @@ bool GrContext::writeSurfacePixels(GrSurface* surface, |
if (!drawContext) { |
return false; |
} |
- paint.addColorProcessor(fp); |
+ paint.addColorFragmentProcessor(fp); |
SkRect rect = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)); |
drawContext->drawRect(renderTarget, GrClip::WideOpen(), paint, matrix, rect, NULL); |
@@ -532,7 +532,7 @@ bool GrContext::readSurfacePixels(GrSurface* src, |
GrConfigConversionEffect::kNone_PMConversion, textureMatrix)); |
} |
if (fp) { |
- paint.addColorProcessor(fp); |
+ paint.addColorFragmentProcessor(fp); |
SkRect rect = SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)); |
GrDrawContext* drawContext = this->drawContext(); |
drawContext->drawRect(temp->asRenderTarget(), GrClip::WideOpen(), paint, |