aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextureContext.h
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/GrTextureContext.h
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/GrTextureContext.h')
-rw-r--r--src/gpu/GrTextureContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrTextureContext.h b/src/gpu/GrTextureContext.h
index 995ebf53d2..4cde61b883 100644
--- a/src/gpu/GrTextureContext.h
+++ b/src/gpu/GrTextureContext.h
@@ -54,7 +54,7 @@ private:
// In MDB-mode the GrOpList can be closed by some other renderTargetContext that has picked
// it up. For this reason, the GrOpList should only ever be accessed via 'getOpList'.
- GrTextureOpList* fOpList;
+ sk_sp<GrTextureOpList> fOpList;
typedef GrSurfaceContext INHERITED;
};