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

Unified Diff: src/ports/SkFontConfigInterface_direct.cpp

Issue 12469003: Fixed a few warnings (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 10 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
Index: src/ports/SkFontConfigInterface_direct.cpp
===================================================================
--- src/ports/SkFontConfigInterface_direct.cpp (revision 7988)
+++ src/ports/SkFontConfigInterface_direct.cpp (working copy)
@@ -196,17 +196,6 @@
return class_a != OTHER && class_a == class_b;
}
-inline unsigned FileFaceIdToFileId(unsigned filefaceid)
-{
- return filefaceid >> 4;
-}
-
-inline unsigned FileIdAndFaceIndexToFileFaceId(unsigned fileid, int face_index)
-{
- SkASSERT((face_index & 0xfu) == face_index);
- return (fileid << 4) | face_index;
-}
-
sugoi 2013/03/05 20:16:45 unused functions
// Normally we only return exactly the font asked for. In last-resort
// cases, the request either doesn't specify a font or is one of the
// basic font names like "Sans", "Serif" or "Monospace". This function

Powered by Google App Engine
This is Rietveld 408576698