aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPathRendering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrPathRendering.cpp')
-rw-r--r--src/gpu/GrPathRendering.cpp8
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);