Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index a6edd98813ea058df8ebadd2595a7ac3e756acb1..d172df829ea1e811405e536c894efd82295eb07f 100644 |
--- a/src/image/SkImage_Gpu.cpp |
+++ b/src/image/SkImage_Gpu.cpp |
@@ -250,9 +250,8 @@ |
GrPaint paint; |
paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
- paint.addColorFragmentProcessor(GrYUVtoRGBEffect::Create(paint.getProcessorDataManager(), |
- yTex, uTex, vTex, yuvSizes, |
- colorSpace))->unref(); |
+ paint.addColorProcessor(GrYUVtoRGBEffect::Create(paint.getProcessorDataManager(), yTex, uTex, |
+ vTex, yuvSizes, colorSpace))->unref(); |
const SkRect rect = SkRect::MakeWH(SkIntToScalar(dstDesc.fWidth), |
SkIntToScalar(dstDesc.fHeight)); |