Index: src/fonts/SkFontMgr_fontconfig.cpp |
diff --git a/src/fonts/SkFontMgr_fontconfig.cpp b/src/fonts/SkFontMgr_fontconfig.cpp |
index 4f99a6f5c1f98d16c22b2af0be1aa05943438502..c56e065509fffacd0359cdaa534e27b0fa320c5b 100644 |
--- a/src/fonts/SkFontMgr_fontconfig.cpp |
+++ b/src/fonts/SkFontMgr_fontconfig.cpp |
@@ -214,7 +214,7 @@ |
class SkFontMgr_fontconfig : public SkFontMgr { |
SkAutoTUnref<SkFontConfigInterface> fFCI; |
SkDataTable* fFamilyNames; |
- SkTypeface_FreeType::Scanner fScanner; |
+ |
public: |
SkFontMgr_fontconfig(SkFontConfigInterface* fci) |
@@ -302,7 +302,7 @@ |
// TODO should the caller give us the style or should we get it from freetype? |
SkFontStyle style; |
bool isFixedWidth = false; |
- if (!fScanner.scanFont(stream, 0, NULL, &style, &isFixedWidth)) { |
+ if (!SkTypeface_FreeType::ScanFont(stream, 0, NULL, &style, &isFixedWidth)) { |
return NULL; |
} |