Index: src/ports/SkFontHost_win.cpp |
diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp |
index 708c66fdf72b1281e2a7813447c4a8840b921487..017c1eab7655f727cd0331768b280989a8871a87 100755 |
--- a/src/ports/SkFontHost_win.cpp |
+++ b/src/ports/SkFontHost_win.cpp |
@@ -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. |