From e8a76ae8edc4f90456f9d8f90e56bf97f2657f3a Mon Sep 17 00:00:00 2001 From: "vandebo@chromium.org" Date: Fri, 4 Jan 2013 17:59:42 +0000 Subject: Remove SkRefPtr Review URL: https://codereview.appspot.com/7030059 git-svn-id: http://skia.googlecode.com/svn/trunk@7021 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/pdf/SkPDFFont.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pdf/SkPDFFont.h') diff --git a/src/pdf/SkPDFFont.h b/src/pdf/SkPDFFont.h index f463ed740a..693b911061 100644 --- a/src/pdf/SkPDFFont.h +++ b/src/pdf/SkPDFFont.h @@ -180,7 +180,7 @@ private: FontRec(SkPDFFont* font, uint32_t fontID, uint16_t fGlyphID); }; - SkRefPtr fTypeface; + SkAutoTUnref 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. @@ -188,9 +188,9 @@ private: uint16_t fLastGlyphID; // The font info is only kept around after construction for large // Type1 (non CID) fonts that need multiple "fonts" to access all glyphs. - SkRefPtr fFontInfo; + SkAutoTUnref fFontInfo; SkTDArray fResources; - SkRefPtr fDescriptor; + SkAutoTUnref fDescriptor; SkAdvancedTypefaceMetrics::FontType fFontType; -- cgit v1.2.3