Index: src/ports/SkFontHost_win_dw.cpp |
diff --git a/src/ports/SkFontHost_win_dw.cpp b/src/ports/SkFontHost_win_dw.cpp |
index 5df90b47f387cace1fbf35211e39500763eccc64..e1685e63b0750cbc2afe20657d6e5bd2bfc1b9b2 100644 |
--- a/src/ports/SkFontHost_win_dw.cpp |
+++ b/src/ports/SkFontHost_win_dw.cpp |
@@ -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) |