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

Unified Diff: trunk/src/core/SkTypeface.cpp

Issue 13008019: remove SkFontHost::OpenStream(), now subsumed by SkTypeface::openStream() (Closed) Base URL: http://skia.googlecode.com/svn/
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 | « trunk/include/core/SkTypeface.h ('k') | trunk/src/ports/SkFontHost_android.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/core/SkTypeface.cpp
===================================================================
--- trunk/src/core/SkTypeface.cpp (revision 8339)
+++ trunk/src/core/SkTypeface.cpp (working copy)
@@ -155,15 +155,6 @@
return upem;
}
-SkStream* SkTypeface::onOpenStream(int* ttcIndex) const {
- // If this has not been overridden, then we just don't know the ttcIndex
- // so we set it to 0
- if (ttcIndex) {
- *ttcIndex = 0;
- }
- return SkFontHost::OpenStream(fUniqueID);
-}
-
void SkTypeface::onGetFontDescriptor(SkFontDescriptor* desc) const {
desc->setStyle(this->style());
}
« no previous file with comments | « trunk/include/core/SkTypeface.h ('k') | trunk/src/ports/SkFontHost_android.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698