Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/ge/
Dcfx_fontcache.cpp33 CountedFaceCache* counted_face_cache = it->second.get(); in GetCachedFace() local
34 counted_face_cache->m_nCount++; in GetCachedFace()
35 return counted_face_cache->m_Obj.get(); in GetCachedFace()
38 std::unique_ptr<CountedFaceCache> counted_face_cache(new CountedFaceCache); in GetCachedFace() local
39 counted_face_cache->m_nCount = 2; in GetCachedFace()
41 counted_face_cache->m_Obj.reset(face_cache); in GetCachedFace()
42 map[face] = std::move(counted_face_cache); in GetCachedFace()
61 CountedFaceCache* counted_face_cache = it->second.get(); in ReleaseCachedFace() local
62 if (counted_face_cache->m_nCount > 2) { in ReleaseCachedFace()
63 counted_face_cache->m_nCount--; in ReleaseCachedFace()