| Index: src/gpu/GrYUVProvider.cpp
|
| diff --git a/src/gpu/GrYUVProvider.cpp b/src/gpu/GrYUVProvider.cpp
|
| index 071cd4d46d405b75771061e7156e7a257ccc1004..93859483ad47ce0e7949021bfc35ed30ae55cc03 100644
|
| --- a/src/gpu/GrYUVProvider.cpp
|
| +++ b/src/gpu/GrYUVProvider.cpp
|
| @@ -130,12 +130,12 @@ GrTexture* GrYUVProvider::refAsTexture(GrContext* ctx, const GrSurfaceDesc& desc
|
| paint.addColorFragmentProcessor(yuvToRgbProcessor);
|
| const SkRect r = SkRect::MakeIWH(yuvInfo.fSize[0].fWidth, yuvInfo.fSize[0].fHeight);
|
|
|
| - SkAutoTUnref<GrDrawContext> drawContext(ctx->drawContext());
|
| + SkAutoTUnref<GrDrawContext> drawContext(ctx->drawContext(renderTarget));
|
| if (!drawContext) {
|
| return nullptr;
|
| }
|
|
|
| - drawContext->drawRect(renderTarget, GrClip::WideOpen(), paint, SkMatrix::I(), r);
|
| + drawContext->drawRect(GrClip::WideOpen(), paint, SkMatrix::I(), r);
|
|
|
| return result.detach();
|
| }
|
|
|