aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextureOpList.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-04-13 12:23:54 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-14 15:55:47 +0000
commitdc83b892a0ae431c5fe123a7e6873d63264bd64c (patch)
tree9f266166998488a7661a674ea1131bf0f7603979 /src/gpu/GrTextureOpList.cpp
parentd64756e66e65f1a8ec500819d22bbdd1c96fa28d (diff)
sk_sp-ify opList creation & storage
Change-Id: Idd4d81cd248ad2b2169028ac2e269a66c9cad26b Reviewed-on: https://skia-review.googlesource.com/13400 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrTextureOpList.cpp')
-rw-r--r--src/gpu/GrTextureOpList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrTextureOpList.cpp b/src/gpu/GrTextureOpList.cpp
index d2d922643a..d4becad579 100644
--- a/src/gpu/GrTextureOpList.cpp
+++ b/src/gpu/GrTextureOpList.cpp
@@ -15,8 +15,8 @@
////////////////////////////////////////////////////////////////////////////////
-GrTextureOpList::GrTextureOpList(GrTextureProxy* tex, GrGpu* gpu, GrAuditTrail* auditTrail)
- : INHERITED(tex, auditTrail)
+GrTextureOpList::GrTextureOpList(sk_sp<GrTextureProxy> proxy, GrGpu* gpu, GrAuditTrail* auditTrail)
+ : INHERITED(std::move(proxy), auditTrail)
, fGpu(SkRef(gpu)) {
}