aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-22 17:21:59 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-22 17:21:59 +0000
commit292b1d4903a770a77282508054917b48fb989d49 (patch)
tree38a7beeb3d682f047cda1b798f76e52eb9c7e6f0 /src/core
parentcb693198e7e1d2f8318b2455c52210e6e1ea13e3 (diff)
remove SkFontHost::OpenStream(), now subsumed by SkTypeface::openStream()
remove obsolete/abandoned SkFontHost_freetype_mac.cpp Review URL: https://codereview.chromium.org/13008019 git-svn-id: http://skia.googlecode.com/svn/trunk@8342 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkTypeface.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/SkTypeface.cpp b/src/core/SkTypeface.cpp
index 9a9ebcb802..4c3f8a1e23 100644
--- a/src/core/SkTypeface.cpp
+++ b/src/core/SkTypeface.cpp
@@ -155,15 +155,6 @@ int SkTypeface::onGetUPEM() const {
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());
}