Chromium Code Reviews| Index: gm/yuvtorgbeffect.cpp |
| diff --git a/gm/yuvtorgbeffect.cpp b/gm/yuvtorgbeffect.cpp |
| index 996e473e44bb360642c0bccdf5979e81978c6979..09c61765fbc0bacaceb6ca1c58cefa5ecc2d4584 100644 |
| --- a/gm/yuvtorgbeffect.cpp |
| +++ b/gm/yuvtorgbeffect.cpp |
| @@ -79,7 +79,7 @@ protected: |
| return; |
| } |
| - SkAutoTUnref<GrDrawContext> drawContext(context->drawContext(rt)); |
| + sk_sp<GrDrawContext> drawContext(context->drawContext(sk_ref_sp(rt))); |
| if (!drawContext) { |
| return; |
| } |