Index: gm/deferredtextureimage.cpp |
diff --git a/gm/deferredtextureimage.cpp b/gm/deferredtextureimage.cpp |
index 087c4eb686b43a30a81b7afa2ea04c4d957ab01f..1043c1b6d6b139a786d0a939aee0da5c83d7d422 100644 |
--- a/gm/deferredtextureimage.cpp |
+++ b/gm/deferredtextureimage.cpp |
@@ -22,7 +22,7 @@ static void DrawDeferredTextureImageData(SkCanvas* canvas, |
skiagm::GM::DrawGpuOnlyMessage(canvas); |
return; |
} |
- SkAutoTUnref<GrContextThreadSafeProxy> proxy(context->threadSafeProxy()); |
+ sk_sp<GrContextThreadSafeProxy> proxy(context->threadSafeProxy()); |
@@ -80,7 +80,7 @@ static void DrawDeferredTextureImageMipMapTree(SkCanvas* canvas, SkImage* image, |
skiagm::GM::DrawGpuOnlyMessage(canvas); |
return; |
} |
- SkAutoTUnref<GrContextThreadSafeProxy> proxy(context->threadSafeProxy()); |
+ sk_sp<GrContextThreadSafeProxy> proxy(context->threadSafeProxy()); |
SkPaint paint; |
paint.setFilterQuality(params->fQuality); |