aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/bigrrectaaeffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/bigrrectaaeffect.cpp')
-rw-r--r--gm/bigrrectaaeffect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/bigrrectaaeffect.cpp b/gm/bigrrectaaeffect.cpp
index be37d70568..47e5a73384 100644
--- a/gm/bigrrectaaeffect.cpp
+++ b/gm/bigrrectaaeffect.cpp
@@ -87,10 +87,10 @@ protected:
SkRect bounds = testBounds;
bounds.offset(SkIntToScalar(x), SkIntToScalar(y));
- 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());
}
canvas->restore();
x = x + fTestOffsetX;