Index: gm/texturedomaineffect.cpp |
diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp |
index 89d3b44b7f1820093fd1b8cbe8893817741ea1e1..e4a02c15d94e4a258d0f3753c4da5595d1bdb3cf 100644 |
--- a/gm/texturedomaineffect.cpp |
+++ b/gm/texturedomaineffect.cpp |
@@ -80,7 +80,7 @@ protected: |
return; |
} |
- SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(rt)); |
+ sk_sp<GrDrawContext> drawContext(context->drawContext(sk_ref_sp(rt))); |
if (!drawContext) { |
return; |
} |