diff options
author | bungeman@google.com <bungeman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-23 18:34:47 +0000 |
---|---|---|
committer | bungeman@google.com <bungeman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-23 18:34:47 +0000 |
commit | 8d8d3925fd7e65836f78e25ba10010643a99829b (patch) | |
tree | 2ba24303d2b4e11810c165e8cb8090cf7c97bc96 | |
parent | 6d6122a166ef44d4e113d561800c8dd1f7261daf (diff) | |
download | chromium_src-8d8d3925fd7e65836f78e25ba10010643a99829b.zip chromium_src-8d8d3925fd7e65836f78e25ba10010643a99829b.tar.gz chromium_src-8d8d3925fd7e65836f78e25ba10010643a99829b.tar.bz2 |
Remove ValidFontID.
Review URL: http://codereview.chromium.org/9347043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123282 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | skia/ext/SkFontHost_fontconfig.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/skia/ext/SkFontHost_fontconfig.cpp b/skia/ext/SkFontHost_fontconfig.cpp index c3ba2ab..ef73553 100644 --- a/skia/ext/SkFontHost_fontconfig.cpp +++ b/skia/ext/SkFontHost_fontconfig.cpp @@ -208,19 +208,6 @@ SkTypeface* SkFontHost::CreateTypefaceFromFile(const char path[]) return NULL; } -// static -bool SkFontHost::ValidFontID(SkFontID uniqueID) { - if (IsRemoteFont(UniqueIdToFileFaceId(uniqueID))) { - // remote font - SkAutoMutexAcquire ac(global_remote_font_map_lock); - return global_remote_fonts.find(uniqueID) != global_remote_fonts.end(); - } else { - // local font - SkAutoMutexAcquire ac(global_fc_map_lock); - return global_fc_typefaces.find(uniqueID) != global_fc_typefaces.end(); - } -} - void SkFontHost::Serialize(const SkTypeface*, SkWStream*) { SkASSERT(!"SkFontHost::Serialize unimplemented"); } |