Index: src/effects/SkXfermodeImageFilter.cpp |
diff --git a/src/effects/SkXfermodeImageFilter.cpp b/src/effects/SkXfermodeImageFilter.cpp |
index f4e896ece6d6262f7ab82220f897425efce94832..b1ac1c32e08ac9c20bc8eed444f350f3056080eb 100644 |
--- a/src/effects/SkXfermodeImageFilter.cpp |
+++ b/src/effects/SkXfermodeImageFilter.cpp |
@@ -248,7 +248,7 @@ sk_sp<SkSpecialImage> SkXfermodeImageFilter::filterImageGPU(SkSpecialImage* sour |
paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
- SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(dst->asRenderTarget())); |
+ sk_sp<GrDrawContext> drawContext(context->drawContext(sk_ref_sp(dst->asRenderTarget()))); |
if (!drawContext) { |
return nullptr; |
} |