Index: gm/convexpolyeffect.cpp |
diff --git a/gm/convexpolyeffect.cpp b/gm/convexpolyeffect.cpp |
index 28a4d5e97b1d1246799125dabb8a218ada181dbf..0c4c94b3aaa760c502606a1e84de18dc8272baef 100644 |
--- a/gm/convexpolyeffect.cpp |
+++ b/gm/convexpolyeffect.cpp |
@@ -163,7 +163,7 @@ protected: |
return; |
} |
- SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(rt)); |
+ sk_sp<GrDrawContext> drawContext(context->drawContext(sk_ref_sp(rt))); |
if (!drawContext) { |
return; |
} |