diff options
author | bungeman <bungeman@google.com> | 2016-04-13 05:23:35 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-13 05:23:35 -0700 |
commit | ed2edabd07086bbf60df17ca0bf52d8ba49f2273 (patch) | |
tree | d14257caf9d2775bcff4132eb8195d68a7d07576 /src/ports/SkFontConfigInterface_direct.h | |
parent | dada4dd9cf03e42369ca5b38086dba77f01a68e6 (diff) |
Remove SK_VERY_LEGACY_CREATE_TYPEFACE.
The flag and code it guards are no longer used.
TBR=reed
This just removes dead code.
Review URL: https://codereview.chromium.org/1882803002
Diffstat (limited to 'src/ports/SkFontConfigInterface_direct.h')
-rw-r--r-- | src/ports/SkFontConfigInterface_direct.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ports/SkFontConfigInterface_direct.h b/src/ports/SkFontConfigInterface_direct.h index 22dd9f1994..3f0af82699 100644 --- a/src/ports/SkFontConfigInterface_direct.h +++ b/src/ports/SkFontConfigInterface_direct.h @@ -17,20 +17,12 @@ public: SkFontConfigInterfaceDirect(); ~SkFontConfigInterfaceDirect() override; -#ifdef SK_VERY_LEGACY_CREATE_TYPEFACE - bool matchFamilyName(const char familyName[], - SkTypeface::Style requested, - FontIdentity* outFontIdentifier, - SkString* outFamilyName, - SkTypeface::Style* outStyle) override; -#else bool matchFamilyName(const char familyName[], SkFontStyle requested, FontIdentity* outFontIdentifier, SkString* outFamilyName, SkFontStyle* outStyle) override; -#endif SkStreamAsset* openStream(const FontIdentity&) override; // new APIs |