Index: src/ports/SkFontHost_FreeType.cpp |
diff --git a/src/ports/SkFontHost_FreeType.cpp b/src/ports/SkFontHost_FreeType.cpp |
index d0f86d99a70528f9503ad8ff3b6b23dd6b180a51..45e4eaead8616a4d34c4db6997fdf8cf29804af8 100644 |
--- a/src/ports/SkFontHost_FreeType.cpp |
+++ b/src/ports/SkFontHost_FreeType.cpp |
@@ -456,9 +456,6 @@ SkAdvancedTypefaceMetrics* SkTypeface_FreeType::onGetAdvancedTypefaceMetrics( |
PerGlyphInfo perGlyphInfo, |
const uint32_t* glyphIDs, |
uint32_t glyphIDsCount) const { |
-#if defined(SK_BUILD_FOR_MAC) |
- return nullptr; |
-#else |
AutoFTAccess fta(this); |
FT_Face face = fta.face(); |
if (!face) { |
@@ -654,7 +651,6 @@ SkAdvancedTypefaceMetrics* SkTypeface_FreeType::onGetAdvancedTypefaceMetrics( |
} |
return info; |
-#endif |
} |
/////////////////////////////////////////////////////////////////////////// |