Home
last modified time | relevance | path

Searched refs:counted_face_cache (Results 1 – 1 of 1) sorted by relevance

/external/pdfium/core/fxge/
Dcfx_fontcache.cpp34 CountedFaceCache* counted_face_cache = it->second.get(); in GetCachedFace() local
35 counted_face_cache->m_nCount++; in GetCachedFace()
36 return counted_face_cache->m_Obj.get(); in GetCachedFace()
39 auto counted_face_cache = pdfium::MakeUnique<CountedFaceCache>(); in GetCachedFace() local
40 counted_face_cache->m_nCount = 2; in GetCachedFace()
44 counted_face_cache->m_Obj = std::move(new_cache); in GetCachedFace()
45 map[face] = std::move(counted_face_cache); in GetCachedFace()
64 CountedFaceCache* counted_face_cache = it->second.get(); in ReleaseCachedFace() local
65 if (counted_face_cache->m_nCount > 2) { in ReleaseCachedFace()
66 counted_face_cache->m_nCount--; in ReleaseCachedFace()