diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-07-26 15:52:56 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-26 15:52:56 +0000 |
commit | 2daa06ab9596a42c967497c2bae16ddd902dcaf0 (patch) | |
tree | 2c1cef58048c0e15482d413fd5ed8f7546dabd36 /xfa/fgas/font/cfgas_defaultfontmanager.h | |
parent | fd8dfdfc54e2af0749663e9e0c3c2ef24b04f59e (diff) | |
download | pdfium-2daa06ab9596a42c967497c2bae16ddd902dcaf0.tar.xz |
Remove font cache from CFGAS_DefaultFontManager.chromium/3504
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 <thestig@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fgas/font/cfgas_defaultfontmanager.h')
-rw-r--r-- | xfa/fgas/font/cfgas_defaultfontmanager.h | 3 |
1 files changed, 0 insertions, 3 deletions
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<CFGAS_GEFont> GetDefaultFont(CFGAS_FontMgr* pFontMgr, const WideStringView& wsFontFamily, uint32_t dwFontStyles); - - private: - std::vector<RetainPtr<CFGAS_GEFont>> m_CacheFonts; }; #endif // XFA_FGAS_FONT_CFGAS_DEFAULTFONTMANAGER_H_ |