aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-06-05 13:38:13 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-05 18:07:05 +0000
commit67d52cf0d8baff02fd4337a62f1f9cd975edc18f (patch)
treea17ca628b4013026f5628e5841e44b48e6128a13 /src/gpu/ops
parentbab680d891a201f27b87343a692a902d00d67c0a (diff)
sk_sp-ify GrResourceProvider some more
I believe this addresses the concerns of this particular bug (although more remains to be done) Bug: skia:5327 Change-Id: Ie82f08f87b3cf3d7986fe4eeb16a5d2553173913 Reviewed-on: https://skia-review.googlesource.com/18599 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/ops')
-rw-r--r--src/gpu/ops/GrStencilAndCoverPathRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/ops/GrStencilAndCoverPathRenderer.cpp b/src/gpu/ops/GrStencilAndCoverPathRenderer.cpp
index 4822850d60..a3015645ad 100644
--- a/src/gpu/ops/GrStencilAndCoverPathRenderer.cpp
+++ b/src/gpu/ops/GrStencilAndCoverPathRenderer.cpp
@@ -59,7 +59,7 @@ static GrPath* get_gr_path(GrResourceProvider* resourceProvider, const GrShape&
if (!path) {
SkPath skPath;
shape.asPath(&skPath);
- path.reset(resourceProvider->createPath(skPath, shape.style()));
+ path = resourceProvider->createPath(skPath, shape.style());
if (!isVolatile) {
resourceProvider->assignUniqueKeyToResource(key, path.get());
}