diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-09-21 10:45:18 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-21 19:31:12 +0000 |
commit | a44a48043e54eac6126c9a2cfae9e6055ef4a15f (patch) | |
tree | 9d9c10223c60257e000aa8b9f3ef5236798891c1 /xfa/fxfa/cxfa_fontmgr.h | |
parent | 959c2bebde7f46b194f0f83ba5626cb982213638 (diff) | |
download | pdfium-a44a48043e54eac6126c9a2cfae9e6055ef4a15f.tar.xz |
Move CFGAS_PDFFontMgr to the CXFA_FFDoc
This CL removes the map of CXFA_FFDoc -> CFGAS_PDFFontMgr from the
CXFA_FontMgr and moves the storage of the PDFFontMgr into the CXFA_FFDoc
itself.
Change-Id: Ia725ddd94b1ac2c9504bfd6370040ab6ac01e272
Reviewed-on: https://pdfium-review.googlesource.com/14590
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_fontmgr.h')
-rw-r--r-- | xfa/fxfa/cxfa_fontmgr.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_fontmgr.h b/xfa/fxfa/cxfa_fontmgr.h index 988964dab2..b7d1f51ff2 100644 --- a/xfa/fxfa/cxfa_fontmgr.h +++ b/xfa/fxfa/cxfa_fontmgr.h @@ -30,13 +30,10 @@ class CXFA_FontMgr { const WideStringView& wsFontFamily, uint32_t dwFontStyles, uint16_t wCodePage = 0xFFFF); - void LoadDocFonts(CXFA_FFDoc* hDoc); - void ReleaseDocFonts(CXFA_FFDoc* hDoc); void SetDefFontMgr(std::unique_ptr<CFGAS_DefaultFontManager> pFontMgr); private: std::unique_ptr<CFGAS_DefaultFontManager> m_pDefFontMgr; - std::map<CXFA_FFDoc*, std::unique_ptr<CFGAS_PDFFontMgr>> m_PDFFontMgrMap; std::map<ByteString, CFX_RetainPtr<CFGAS_GEFont>> m_FontMap; }; |