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

Unified Diff: src/core/SkFontHost.cpp

Issue 22849025: Implement SkEmptyFontMgr::onLegacyCreateTypeface and make pure virtual. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 months 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 | « include/ports/SkFontMgr.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkFontHost.cpp
===================================================================
--- src/core/SkFontHost.cpp (revision 10850)
+++ src/core/SkFontHost.cpp (working copy)
@@ -126,6 +126,9 @@
virtual SkTypeface* onCreateFromFile(const char[], int) SK_OVERRIDE {
return NULL;
}
+ virtual SkTypeface* onLegacyCreateTypeface(const char [], unsigned) SK_OVERRIDE {
+ return NULL;
+ }
};
static SkFontStyleSet* emptyOnNull(SkFontStyleSet* fsset) {
@@ -187,12 +190,6 @@
return this->onLegacyCreateTypeface(familyName, styleBits);
}
-SkTypeface* SkFontMgr::onLegacyCreateTypeface(const char familyName[],
- unsigned styleBits) {
- SkASSERT(!"unimplemented");
- return NULL;
-}
-
SkFontMgr* SkFontMgr::RefDefault() {
static SkFontMgr* gFM;
if (NULL == gFM) {
« no previous file with comments | « include/ports/SkFontMgr.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698