http://code.google.com/p/skia/issues/detail?id=149
git-svn-id: http://skia.googlecode.com/svn/trunk@787
2bbb7eff-a529-9590-31e7-
b0007b416f81
size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length,
int32_t* index) {
SkAutoMutexAcquire ac(global_fc_map_lock);
- const unsigned fileid = UniqueIdToFileId(id);
-
+ const unsigned fileid = UniqueIdToFileId(fontID);
+
std::map<unsigned, std::string>::const_iterator i =
global_fc_map_inverted.find(fileid);
if (i == global_fc_map_inverted.end()) {