aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrRenderTargetContext.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2016-12-13 15:10:11 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-13 20:48:50 +0000
commit24f19780d1e76595c049d8cad4352de839cfc6b5 (patch)
tree43caf0b20dddaf2687451ae0f8096bfc639dbda2 /include/gpu/GrRenderTargetContext.h
parentd5aabd6744b64e2bfc48b4dec2311ce58e6f9225 (diff)
Make GrRenderTargetContext::addDrawOp use sk_sp
Change-Id: Iff7f63635cdbc5cc51e5968a565f2fde2be3acb0 Reviewed-on: https://skia-review.googlesource.com/5932 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'include/gpu/GrRenderTargetContext.h')
-rw-r--r--include/gpu/GrRenderTargetContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrRenderTargetContext.h b/include/gpu/GrRenderTargetContext.h
index ac733cb376..5317c3e07c 100644
--- a/include/gpu/GrRenderTargetContext.h
+++ b/include/gpu/GrRenderTargetContext.h
@@ -468,7 +468,7 @@ private:
const GrStyle&);
// This entry point allows the GrTextContext-derived classes to add their ops to the GrOpList.
- void addDrawOp(const GrPipelineBuilder&, const GrClip&, GrDrawOp*);
+ void addDrawOp(const GrPipelineBuilder&, const GrClip&, sk_sp<GrDrawOp>);
GrRenderTargetOpList* getOpList();