aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PrimitiveProcessorTest.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-04-27 10:47:51 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-27 10:47:51 -0700
commit6c7e325236b7fbb9c9b14ebb4715f88a59718695 (patch)
tree892db20f12b2f02968a3d67b54719aca3a84a8df /tests/PrimitiveProcessorTest.cpp
parentb4bb7d825566042ed64697be49457dbac060e6c4 (diff)
Bring sk_sp to GrDrawContext
Diffstat (limited to 'tests/PrimitiveProcessorTest.cpp')
-rw-r--r--tests/PrimitiveProcessorTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PrimitiveProcessorTest.cpp b/tests/PrimitiveProcessorTest.cpp
index f8c19e3171..6d4ede1ce9 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;