Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index 1be6eaaa26229e0a81811bed59c09a3dd8e262f2..d758795d43b5c15dc5eb477cf3efc80a04484bd3 100644 |
--- a/src/image/SkImage_Gpu.cpp |
+++ b/src/image/SkImage_Gpu.cpp |
@@ -248,8 +248,9 @@ SkImage* SkImage::NewFromYUVTexturesCopy(GrContext* ctx , SkYUVColorSpace colorS |
GrPaint paint; |
paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
- paint.addColorProcessor(GrYUVtoRGBEffect::Create(paint.getProcessorDataManager(), yTex, uTex, |
- vTex, yuvSizes, colorSpace))->unref(); |
+ paint.addColorFragmentProcessor(GrYUVtoRGBEffect::Create(paint.getProcessorDataManager(), |
+ yTex, uTex, vTex, yuvSizes, |
+ colorSpace))->unref(); |
const SkRect rect = SkRect::MakeWH(SkIntToScalar(dstDesc.fWidth), |
SkIntToScalar(dstDesc.fHeight)); |