aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/rrects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/rrects.cpp')
-rw-r--r--gm/rrects.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/rrects.cpp b/gm/rrects.cpp
index c252ec6303..29e81bd298 100644
--- a/gm/rrects.cpp
+++ b/gm/rrects.cpp
@@ -115,10 +115,10 @@ protected:
SkRect bounds = rrect.getBounds();
bounds.outset(2.f, 2.f);
- SkAutoTUnref<GrDrawBatch> batch(
+ sk_sp<GrDrawBatch> batch(
GrRectBatchFactory::CreateNonAAFill(0xff000000, SkMatrix::I(),
bounds, nullptr, nullptr));
- renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch);
+ renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch.get());
} else {
drew = false;
}