From 2daa06ab9596a42c967497c2bae16ddd902dcaf0 Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Thu, 26 Jul 2018 15:52:56 +0000 Subject: Remove font cache from CFGAS_DefaultFontManager. The cache is never accessed and retains fonts in memory that will not be used anymore. Change-Id: Ia763499dc88a99741a85afc4ddd09257e8e1119c Reviewed-on: https://pdfium-review.googlesource.com/38898 Reviewed-by: Lei Zhang Commit-Queue: Henrique Nakashima --- xfa/fgas/font/cfgas_defaultfontmanager.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'xfa/fgas/font/cfgas_defaultfontmanager.h') diff --git a/xfa/fgas/font/cfgas_defaultfontmanager.h b/xfa/fgas/font/cfgas_defaultfontmanager.h index 2afe9ebc54..5a2bc1263d 100644 --- a/xfa/fgas/font/cfgas_defaultfontmanager.h +++ b/xfa/fgas/font/cfgas_defaultfontmanager.h @@ -24,9 +24,6 @@ class CFGAS_DefaultFontManager { RetainPtr GetDefaultFont(CFGAS_FontMgr* pFontMgr, const WideStringView& wsFontFamily, uint32_t dwFontStyles); - - private: - std::vector> m_CacheFonts; }; #endif // XFA_FGAS_FONT_CFGAS_DEFAULTFONTMANAGER_H_ -- cgit v1.2.3