remove uncalled local functions
BUG= Review URL: https://codereview.chromium.org/22924004 git-svn-id: http://skia.googlecode.com/svn/trunk@10688 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
7ad39d3d25
commit
a8b20d610c
@ -357,15 +357,6 @@ void SkLOGFONTFromTypeface(const SkTypeface* face, LOGFONT* lf) {
|
||||
}
|
||||
}
|
||||
|
||||
static void GetLogFontByID(SkFontID fontID, LOGFONT* lf) {
|
||||
LogFontTypeface* face = static_cast<LogFontTypeface*>(SkTypefaceCache::FindByID(fontID));
|
||||
if (face) {
|
||||
*lf = face->fLogFont;
|
||||
} else {
|
||||
sk_bzero(lf, sizeof(LOGFONT));
|
||||
}
|
||||
}
|
||||
|
||||
// Construct Glyph to Unicode table.
|
||||
// Unicode code points that require conjugate pairs in utf16 are not
|
||||
// supported.
|
||||
|
@ -725,9 +725,6 @@ void SkDWriteFontFromTypeface(const SkTypeface* face, IDWriteFont** font) {
|
||||
*font = SkRefComPtr(static_cast<const DWriteFontTypeface*>(face)->fDWriteFont.get());
|
||||
}
|
||||
}
|
||||
static DWriteFontTypeface* GetDWriteFontByID(SkFontID fontID) {
|
||||
return static_cast<DWriteFontTypeface*>(SkTypefaceCache::FindByID(fontID));
|
||||
}
|
||||
|
||||
SkScalerContext_DW::SkScalerContext_DW(DWriteFontTypeface* typeface,
|
||||
const SkDescriptor* desc)
|
||||
|
Loading…
Reference in New Issue
Block a user