diff options
Diffstat (limited to 'src/ports/SkFontMgr_fontconfig.cpp')
-rw-r--r-- | src/ports/SkFontMgr_fontconfig.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ports/SkFontMgr_fontconfig.cpp b/src/ports/SkFontMgr_fontconfig.cpp index 1f00558709..3592feccfb 100644 --- a/src/ports/SkFontMgr_fontconfig.cpp +++ b/src/ports/SkFontMgr_fontconfig.cpp @@ -581,7 +581,7 @@ class SkFontMgr_fontconfig : public SkFontMgr { } private: - SkAutoTUnref<const SkFontMgr_fontconfig> fFontMgr; + sk_sp<const SkFontMgr_fontconfig> fFontMgr; SkAutoFcFontSet fFontSet; }; @@ -944,7 +944,7 @@ protected: } SkTypeface* onLegacyCreateTypeface(const char familyName[], SkFontStyle style) const override { - SkAutoTUnref<SkTypeface> typeface(this->matchFamilyStyle(familyName, style)); + sk_sp<SkTypeface> typeface(this->matchFamilyStyle(familyName, style)); if (typeface.get()) { return typeface.release(); } |