| Index: src/gpu/GrYUVProvider.cpp
|
| diff --git a/src/gpu/GrYUVProvider.cpp b/src/gpu/GrYUVProvider.cpp
|
| index 3990e887b5d64742d071e952cf3da10924f2f34c..6cd7c959b020b151ab5ef63fa192ba84898823e7 100644
|
| --- a/src/gpu/GrYUVProvider.cpp
|
| +++ b/src/gpu/GrYUVProvider.cpp
|
| @@ -137,7 +137,7 @@ GrTexture* GrYUVProvider::refAsTexture(GrContext* ctx, const GrSurfaceDesc& desc
|
| const SkRect r = SkRect::MakeIWH(yuvInfo.fSizeInfo.fSizes[SkYUVSizeInfo::kY].fWidth,
|
| yuvInfo.fSizeInfo.fSizes[SkYUVSizeInfo::kY].fHeight);
|
|
|
| - SkAutoTUnref<GrDrawContext> drawContext(ctx->drawContext(renderTarget));
|
| + sk_sp<GrDrawContext> drawContext(ctx->drawContext(sk_ref_sp(renderTarget)));
|
| if (!drawContext) {
|
| return nullptr;
|
| }
|
|
|