diff options
author | Brian Salomon <bsalomon@google.com> | 2016-12-09 16:01:53 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-12-09 21:38:46 +0000 |
commit | 21aa35f0aac9a091d01ad50dcdc44271dc2a13ed (patch) | |
tree | 058f881b4aa5b06cf4459a2ae6d772c9fa8aae62 /tools/gpu | |
parent | 9950408c5f20148d5b726421454db718860077de (diff) |
Make GrRenderTargetOpList::addDrawOp use sk_sp
Change-Id: I1b3aee2c16075bc481d96052a82f3b3da82061fe
Reviewed-on: https://skia-review.googlesource.com/5699
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'tools/gpu')
-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 |