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