Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: src/ports/SkRemotableFontMgr_win_dw.cpp

Issue 705843004: Remove SK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix test. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ports/SkFontMgr_fontconfig.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkRemotableFontMgr_win_dw.cpp
diff --git a/src/ports/SkRemotableFontMgr_win_dw.cpp b/src/ports/SkRemotableFontMgr_win_dw.cpp
index 498f21f01296f9ea2ee69a5ebc3389d8fc6dfdd3..2f02e4bcaa062a2a8dd4ff56bc48ea366427c4a3 100644
--- a/src/ports/SkRemotableFontMgr_win_dw.cpp
+++ b/src/ports/SkRemotableFontMgr_win_dw.cpp
@@ -408,21 +408,11 @@ public:
SkFontIdentity fIdentity;
};
-#ifdef SK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER
virtual SkFontIdentity matchNameStyleCharacter(const char familyName[],
const SkFontStyle& pattern,
const char* bcp47[], int bcp47Count,
SkUnichar character) const SK_OVERRIDE
{
-#else
- virtual SkFontIdentity matchNameStyleCharacter(const char familyName[],
- const SkFontStyle& pattern,
- const char bcp47_val[],
- SkUnichar character) const SK_OVERRIDE
- {
- const char** bcp47 = &bcp47_val;
- int bcp47Count = bcp47_val ? 1 : 0;
-#endif
SkFontIdentity identity = { SkFontIdentity::kInvalidDataId };
IDWriteFactory* dwFactory = sk_get_dwrite_factory();
« no previous file with comments | « src/ports/SkFontMgr_fontconfig.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698