| Index: src/gpu/GrYUVProvider.cpp
|
| diff --git a/src/gpu/GrYUVProvider.cpp b/src/gpu/GrYUVProvider.cpp
|
| index b30ff1fa3ce9434c469014d869943570d0c3b42d..c35f57a68fea21d58a30d6b64855506022c056ca 100644
|
| --- a/src/gpu/GrYUVProvider.cpp
|
| +++ b/src/gpu/GrYUVProvider.cpp
|
| @@ -121,11 +121,9 @@ sk_sp<GrTexture> GrYUVProvider::refAsTexture(GrContext* ctx,
|
| }
|
|
|
| GrPaint paint;
|
| - sk_sp<GrFragmentProcessor> yuvToRgbProcessor(GrYUVEffect::MakeYUVToRGB(yuvTextures[0],
|
| - yuvTextures[1],
|
| - yuvTextures[2],
|
| - yuvInfo.fSizeInfo.fSizes,
|
| - yuvInfo.fColorSpace));
|
| + sk_sp<GrFragmentProcessor> yuvToRgbProcessor(
|
| + GrYUVEffect::MakeYUVToRGB(yuvTextures[0], yuvTextures[1], yuvTextures[2],
|
| + yuvInfo.fSizeInfo.fSizes, yuvInfo.fColorSpace, false));
|
| paint.addColorFragmentProcessor(std::move(yuvToRgbProcessor));
|
|
|
| // If we're decoding an sRGB image, the result of our linear math on the YUV planes is already
|
|
|