diff options
author | 2017-06-05 13:38:13 -0400 | |
---|---|---|
committer | 2017-06-05 18:07:05 +0000 | |
commit | 67d52cf0d8baff02fd4337a62f1f9cd975edc18f (patch) | |
tree | a17ca628b4013026f5628e5841e44b48e6128a13 /src/gpu/GrPathRendering.cpp | |
parent | bab680d891a201f27b87343a692a902d00d67c0a (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/GrPathRendering.cpp')
-rw-r--r-- | src/gpu/GrPathRendering.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/GrPathRendering.cpp b/src/gpu/GrPathRendering.cpp index 18d000a177..ad60726cd4 100644 --- a/src/gpu/GrPathRendering.cpp +++ b/src/gpu/GrPathRendering.cpp @@ -70,10 +70,10 @@ private: #endif }; -GrPathRange* GrPathRendering::createGlyphs(const SkTypeface* typeface, - const SkScalerContextEffects& effects, - const SkDescriptor* desc, - const GrStyle& style) { +sk_sp<GrPathRange> GrPathRendering::createGlyphs(const SkTypeface* typeface, + const SkScalerContextEffects& effects, + const SkDescriptor* desc, + const GrStyle& style) { if (nullptr == typeface) { typeface = SkTypeface::GetDefaultTypeface(); SkASSERT(nullptr != typeface); |