diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gpu/GrTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp index 43277736c1..574cb0c2d3 100644 --- a/tools/gpu/GrTest.cpp +++ b/tools/gpu/GrTest.cpp @@ -263,7 +263,7 @@ void GrRenderTargetContextPriv::testingOnly_drawBatch(const GrPaint& paint, } fRenderTargetContext->getOpList()->addDrawOp(pipelineBuilder, fRenderTargetContext, GrNoClip(), - batch); + sk_ref_sp(batch)); } #undef ASSERT_SINGLE_OWNER |