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

Unified Diff: src/core/SkTypeface.cpp

Issue 12593013: remove SkFontHost::CreateScalerContext (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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 | « src/core/SkScalerContext.cpp ('k') | src/ports/SkFontHost_FreeType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkTypeface.cpp
===================================================================
--- src/core/SkTypeface.cpp (revision 8224)
+++ src/core/SkTypeface.cpp (working copy)
@@ -152,16 +152,6 @@
return upem;
}
-// TODO: move this impl into the subclass
-SkScalerContext* SkTypeface::onCreateScalerContext(const SkDescriptor* desc) const {
- return SkFontHost::CreateScalerContext(desc);
-}
-
-// TODO: move this impl into the subclass
-void SkTypeface::onFilterRec(SkScalerContextRec* rec) const {
- SkFontHost::FilterRec(rec, const_cast<SkTypeface*>(this));
-}
-
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « src/core/SkScalerContext.cpp ('k') | src/ports/SkFontHost_FreeType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698