From 0da48618a758ef46c2174bdc1eaeb6dd8a693a2e Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Tue, 19 Mar 2013 16:06:52 +0000 Subject: remove SkFontHost::CreateScalerContext Review URL: https://codereview.chromium.org/12593013 git-svn-id: http://skia.googlecode.com/svn/trunk@8228 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkTypeface.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/core/SkTypeface.h') diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h index 45779dcf1a..50a724a8e9 100644 --- a/include/core/SkTypeface.h +++ b/include/core/SkTypeface.h @@ -205,12 +205,13 @@ protected: friend class SkScalerContext; static SkTypeface* GetDefaultTypeface(); + virtual SkScalerContext* onCreateScalerContext(const SkDescriptor*) const = 0; + virtual void onFilterRec(SkScalerContextRec*) const = 0; + virtual int onGetUPEM() const; virtual int onGetTableTags(SkFontTableTag tags[]) const; virtual size_t onGetTableData(SkFontTableTag, size_t offset, size_t length, void* data) const; - virtual SkScalerContext* onCreateScalerContext(const SkDescriptor*) const; - virtual void onFilterRec(SkScalerContextRec*) const; virtual void onGetFontDescriptor(SkFontDescriptor*) const; private: -- cgit v1.2.3