Searched refs:face_cache (Results 1 – 2 of 2) sorted by relevance
284 FaceCache* face_cache = &face_caches[skia_face->uniqueID()]; in CreateHarfBuzzFont() local285 if (face_cache->first.get() == NULL) in CreateHarfBuzzFont()286 face_cache->first.Init(skia_face); in CreateHarfBuzzFont()288 hb_font_t* harfbuzz_font = hb_font_create(face_cache->first.get()); in CreateHarfBuzzFont()291 FontData* hb_font_data = new FontData(&face_cache->second); in CreateHarfBuzzFont()
1009 CFX_FaceCache* face_cache = NULL; in GetCachedFace() local1010 face_cache = FX_NEW CFX_FaceCache(bExternal ? NULL : (FXFT_Face)face); in GetCachedFace()1011 if (face_cache == NULL) { in GetCachedFace()1016 if (face_cache) { in GetCachedFace()1017 delete face_cache; in GetCachedFace()1018 face_cache = NULL; in GetCachedFace()1023 counted_face_cache->m_Obj = face_cache; in GetCachedFace()1025 return face_cache; in GetCachedFace()