remove uncalled local functions
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 13 Aug 2013 13:25:09 +0000 (13:25 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 13 Aug 2013 13:25:09 +0000 (13:25 +0000)
BUG=

Review URL: https://codereview.chromium.org/22924004

git-svn-id: http://skia.googlecode.com/svn/trunk@10688 2bbb7eff-a529-9590-31e7-b0007b416f81

src/ports/SkFontHost_win.cpp
src/ports/SkFontHost_win_dw.cpp

index 708c66f..017c1ea 100755 (executable)
@@ -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.
index 5df90b4..e1685e6 100644 (file)
@@ -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)