Allow calls to legacyMakeTypeface in the AssetFontManager (flutter/engine#24612)

This commit is contained in:
Jason Simmons
2021-03-04 14:54:01 -08:00
committed by GitHub
parent f72e942e46
commit 6b98e883a1

View File

@@ -105,7 +105,6 @@ sk_sp<SkTypeface> AssetFontManager::onMakeFromFile(const char path[],
sk_sp<SkTypeface> AssetFontManager::onLegacyMakeTypeface(
const char familyName[],
SkFontStyle) const {
FML_DCHECK(false);
return nullptr;
}