Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Unified Diff: src/ports/SkFontHost_win_dw.cpp

Issue 22924004: remove uncalled local functions (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ports/SkFontHost_win.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « src/ports/SkFontHost_win.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698