From: caryclark Date: Wed, 20 Jul 2016 20:15:51 +0000 (-0700) Subject: exclude unused functions when mac uses freetype (for pdf) X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~116^2~707 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d46f4af7dc759002537a172af121f2bfe200981;p=platform%2Fupstream%2FlibSkiaSharp.git exclude unused functions when mac uses freetype (for pdf) R=bungeman@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2163833004 Review-Url: https://codereview.chromium.org/2163833004 --- diff --git a/src/ports/SkFontHost_FreeType.cpp b/src/ports/SkFontHost_FreeType.cpp index d0f86d9..45e4eae 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 } ///////////////////////////////////////////////////////////////////////////