| Index: tests/PrimitiveProcessorTest.cpp
|
| diff --git a/tests/PrimitiveProcessorTest.cpp b/tests/PrimitiveProcessorTest.cpp
|
| index f8c19e31714fe3d57509d281adcfb0b6c8f80b4c..6d4ede1ce9246e725daaa718452c35b70a33af4e 100644
|
| --- a/tests/PrimitiveProcessorTest.cpp
|
| +++ b/tests/PrimitiveProcessorTest.cpp
|
| @@ -114,7 +114,7 @@ DEF_GPUTEST_FOR_ALL_GL_CONTEXTS(VertexAttributeCount, reporter, ctxInfo) {
|
| ERRORF(reporter, "Could not create render target.");
|
| return;
|
| }
|
| - SkAutoTUnref<GrDrawContext> dc(context->drawContext(target->asRenderTarget()));
|
| + sk_sp<GrDrawContext> dc(context->drawContext(sk_ref_sp(target->asRenderTarget())));
|
| if (!dc) {
|
| ERRORF(reporter, "Could not create draw context.");
|
| return;
|
|
|