Index: gm/constcolorprocessor.cpp |
diff --git a/gm/constcolorprocessor.cpp b/gm/constcolorprocessor.cpp |
index 37295c78cc573e31ab45d9b9ed547d83a0e7b86b..cfc03398f60af7241ccdb2e527367776eead0f07 100644 |
--- a/gm/constcolorprocessor.cpp |
+++ b/gm/constcolorprocessor.cpp |
@@ -57,7 +57,7 @@ protected: |
return; |
} |
- SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(rt)); |
+ sk_sp<GrDrawContext> drawContext(context->drawContext(sk_ref_sp(rt))); |
if (!drawContext) { |
return; |
} |