Remove redundant helper function as all clients pass locale R=tomhudson@google.com Review URL: https://codereview.chromium.org/426643003
diff --git a/include/ports/SkTypeface_android.h b/include/ports/SkTypeface_android.h index 843bf19..e46c8f8 100644 --- a/include/ports/SkTypeface_android.h +++ b/include/ports/SkTypeface_android.h
@@ -17,19 +17,6 @@ /** * Get the family name of the font in the fallback font list containing - * the specified character using the system's default language. This function - * also assumes the only families with the elegant or default variants will be - * returned. - * - * @param uni The unicode character to use for the lookup. - * @param name The family name of the font file containing the unicode character - * in the default language - * @return true if a font is found and false otherwise - */ -SK_API bool SkGetFallbackFamilyNameForChar(SkUnichar uni, SkString* name); - -/** - * Get the family name of the font in the fallback font list containing * the specified character taking into account the provided language. This * function also assumes the only families with the elegant or default variants * will be returned.
diff --git a/src/ports/SkFontConfigInterface_android.cpp b/src/ports/SkFontConfigInterface_android.cpp index 3f169e1..faf995b 100644 --- a/src/ports/SkFontConfigInterface_android.cpp +++ b/src/ports/SkFontConfigInterface_android.cpp
@@ -738,11 +738,6 @@ /////////////////////////////////////////////////////////////////////////////// -bool SkGetFallbackFamilyNameForChar(SkUnichar uni, SkString* name) { - SkFontConfigInterfaceAndroid* fontConfig = getSingletonInterface(); - return fontConfig->getFallbackFamilyNameForChar(uni, NULL, name); -} - bool SkGetFallbackFamilyNameForChar(SkUnichar uni, const char* lang, SkString* name) { SkFontConfigInterfaceAndroid* fontConfig = getSingletonInterface(); return fontConfig->getFallbackFamilyNameForChar(uni, lang, name);