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

Unified Diff: src/fonts/SkGScalerContext.cpp

Issue 66783003: Remove SK_FONTHOST_USES_FONTMGR. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 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/fonts/SkGScalerContext.h ('k') | src/ports/SkFontConfigTypeface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/fonts/SkGScalerContext.cpp
===================================================================
--- src/fonts/SkGScalerContext.cpp (revision 12201)
+++ src/fonts/SkGScalerContext.cpp (working copy)
@@ -220,15 +220,6 @@
return fProxy->getTableData(tag, offset, length, data);
}
-SkTypeface* SkGTypeface::onRefMatchingStyle(Style style) const {
- if (this->style() == style) {
- return const_cast<SkGTypeface*>(SkRef(this));
- }
-
- SkAutoTUnref<SkTypeface> other(fProxy->refMatchingStyle(style));
- return SkNEW_ARGS(SkGTypeface, (other, fPaint));
-}
-
///////////////////////////////////////////////////////////////////////////////
#if 0
« no previous file with comments | « src/fonts/SkGScalerContext.h ('k') | src/ports/SkFontConfigTypeface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698