Index: src/pdf/SkPDFFont.h |
diff --git a/src/pdf/SkPDFFont.h b/src/pdf/SkPDFFont.h |
index ca0a51fca4dc973e53f25fcefbc5647d00c59d64..16c5a76971648b167fa967dbe47ddc64e7b3ec50 100644 |
--- a/src/pdf/SkPDFFont.h |
+++ b/src/pdf/SkPDFFont.h |
@@ -194,14 +194,14 @@ protected: |
static bool Find(uint32_t fontID, uint16_t glyphID, int* index); |
private: |
- SkAutoTUnref<SkTypeface> fTypeface; |
+ sk_sp<SkTypeface> fTypeface; |
// The glyph IDs accessible with this font. For Type1 (non CID) fonts, |
// this will be a subset if the font has more than 255 glyphs. |
uint16_t fFirstGlyphID; |
uint16_t fLastGlyphID; |
- SkAutoTUnref<const SkAdvancedTypefaceMetrics> fFontInfo; |
- SkAutoTUnref<SkPDFDict> fDescriptor; |
+ sk_sp<const SkAdvancedTypefaceMetrics> fFontInfo; |
+ sk_sp<SkPDFDict> fDescriptor; |
SkAdvancedTypefaceMetrics::FontType fFontType; |