Index: src/gpu/GrBlurUtils.cpp |
diff --git a/src/gpu/GrBlurUtils.cpp b/src/gpu/GrBlurUtils.cpp |
index 8edc6b3977ecb2e470d293d9ff11aa1b8a0285c8..6827c83421b532941d9a68ddfefca4f183be827d 100644 |
--- a/src/gpu/GrBlurUtils.cpp |
+++ b/src/gpu/GrBlurUtils.cpp |
@@ -124,7 +124,7 @@ static GrTexture* create_mask_GPU(GrContext* context, |
SkRect clipRect = SkRect::MakeWH(maskRect->width(), maskRect->height()); |
- SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(mask->asRenderTarget())); |
+ sk_sp<GrDrawContext> drawContext(context->drawContext(sk_ref_sp(mask->asRenderTarget()))); |
if (!drawContext) { |
return nullptr; |
} |