Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index 2afb42f0faeea48a4b4ed1d7d31081199cfeb3af..6eb8474a2ee83600bf14d6685b731de2cfa9b15e 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -1276,7 +1276,8 @@ bool SkBlurMaskFilterImpl::filterMaskGPU(GrTexture* src, |
paint.setCoverageSetOpXPFactory(SkRegion::kReplace_Op); |
} |
- SkAutoTUnref<GrDrawContext> drawContext(context->drawContext((*result)->asRenderTarget())); |
+ sk_sp<GrDrawContext> drawContext( |
+ context->drawContext(sk_ref_sp((*result)->asRenderTarget()))); |
if (!drawContext) { |
return false; |
} |