From bc34be4dbb7b11252a48110f89c46ccb01929d64 Mon Sep 17 00:00:00 2001 From: tsepez Date: Fri, 20 May 2016 14:32:38 -0700 Subject: Use std::map for CFX_GEFont::m_FontMapper Review-Url: https://codereview.chromium.org/2002673002 --- xfa/fgas/font/fgas_gefont.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xfa/fgas/font/fgas_gefont.h') diff --git a/xfa/fgas/font/fgas_gefont.h b/xfa/fgas/font/fgas_gefont.h index 8595782dc3..aa072280d5 100644 --- a/xfa/fgas/font/fgas_gefont.h +++ b/xfa/fgas/font/fgas_gefont.h @@ -7,6 +7,8 @@ #ifndef XFA_FGAS_FONT_FGAS_GEFONT_H_ #define XFA_FGAS_FONT_FGAS_GEFONT_H_ +#include + #include "xfa/fgas/crt/fgas_utils.h" #include "xfa/fgas/font/fgas_font.h" @@ -75,7 +77,7 @@ class CFX_GEFont : public IFX_Font { CXFA_PDFFontMgr* m_pProvider; uint16_t m_wCharSet; CFX_ArrayTemplate m_SubstFonts; - CFX_MapPtrToPtr m_FontMapper; + std::map m_FontMapper; FX_BOOL InitFont(); FX_BOOL GetCharBBox(FX_WCHAR wUnicode, CFX_Rect& bbox, -- cgit v1.2.3