aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ports/SkFontConfigInterface.h
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2016-04-13 05:23:35 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-13 05:23:35 -0700
commited2edabd07086bbf60df17ca0bf52d8ba49f2273 (patch)
treed14257caf9d2775bcff4132eb8195d68a7d07576 /include/ports/SkFontConfigInterface.h
parentdada4dd9cf03e42369ca5b38086dba77f01a68e6 (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 'include/ports/SkFontConfigInterface.h')
-rw-r--r--include/ports/SkFontConfigInterface.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/ports/SkFontConfigInterface.h b/include/ports/SkFontConfigInterface.h
index 464251bc2d..3c68a242e5 100644
--- a/include/ports/SkFontConfigInterface.h
+++ b/include/ports/SkFontConfigInterface.h
@@ -80,19 +80,11 @@ public:
*
* If a match is not found, return false, and ignore all out parameters.
*/
-#ifdef SK_VERY_LEGACY_CREATE_TYPEFACE
- virtual bool matchFamilyName(const char familyName[],
- SkTypeface::Style requested,
- FontIdentity* outFontIdentifier,
- SkString* outFamilyName,
- SkTypeface::Style* outStyle) = 0;
-#else
virtual bool matchFamilyName(const char familyName[],
SkFontStyle requested,
FontIdentity* outFontIdentifier,
SkString* outFamilyName,
SkFontStyle* outStyle) = 0;
-#endif
/**
* Given a FontRef, open a stream to access its data, or return null