| Index: src/gpu/GrYUVProvider.cpp
|
| diff --git a/src/gpu/GrYUVProvider.cpp b/src/gpu/GrYUVProvider.cpp
|
| index c35f57a68fea21d58a30d6b64855506022c056ca..e9b2ef5bf63bf677d53853afa3b8bc6a60340376 100644
|
| --- a/src/gpu/GrYUVProvider.cpp
|
| +++ b/src/gpu/GrYUVProvider.cpp
|
| @@ -113,9 +113,11 @@ sk_sp<GrTexture> GrYUVProvider::refAsTexture(GrContext* ctx,
|
| }
|
| }
|
|
|
| + // We never want to perform color-space conversion during the decode
|
| sk_sp<GrDrawContext> drawContext(ctx->newDrawContext(SkBackingFit::kExact,
|
| desc.fWidth, desc.fHeight,
|
| - desc.fConfig, desc.fSampleCnt));
|
| + desc.fConfig, nullptr,
|
| + desc.fSampleCnt));
|
| if (!drawContext) {
|
| return nullptr;
|
| }
|
|
|