aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrCopySurfaceOp.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-01-03 09:42:58 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-03 15:22:16 +0000
commitf8334781914363caf537f22f012fcd5c03c60dad (patch)
treecfa54aa4a80cd7841959300c245d633fbcd382a0 /src/gpu/ops/GrCopySurfaceOp.h
parent5f500920e719b215d5e0e36a6679995ed3c9b4ad (diff)
Remove ref counting from GrOp.
Instead use std::unique_ptr to manage GrOp lifetime. Change-Id: Ic1dc1e0ffd7254c3994221f498677af5bbf66a71 Reviewed-on: https://skia-review.googlesource.com/6479 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/ops/GrCopySurfaceOp.h')
-rw-r--r--src/gpu/ops/GrCopySurfaceOp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/ops/GrCopySurfaceOp.h b/src/gpu/ops/GrCopySurfaceOp.h
index 1f4fbfa8a9..e74b7e5111 100644
--- a/src/gpu/ops/GrCopySurfaceOp.h
+++ b/src/gpu/ops/GrCopySurfaceOp.h
@@ -27,8 +27,8 @@ public:
SkIRect* clippedSrcRect,
SkIPoint* clippedDstPoint);
- static sk_sp<GrOp> Make(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
- const SkIPoint& dstPoint);
+ static std::unique_ptr<GrOp> Make(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
+ const SkIPoint& dstPoint);
const char* name() const override { return "CopySurface"; }