summaryrefslogtreecommitdiff
path: root/xfa/fgas/font/fgas_gefont.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-20 14:32:38 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-20 14:32:38 -0700
commitbc34be4dbb7b11252a48110f89c46ccb01929d64 (patch)
tree3154b7f43a5fd13ab38bb82298d1627306c400d0 /xfa/fgas/font/fgas_gefont.h
parent24ca59ca1b1475ffdcb9e6202a907627ca24076f (diff)
downloadpdfium-bc34be4dbb7b11252a48110f89c46ccb01929d64.tar.xz
Use std::map for CFX_GEFont::m_FontMapper
Review-Url: https://codereview.chromium.org/2002673002
Diffstat (limited to 'xfa/fgas/font/fgas_gefont.h')
-rw-r--r--xfa/fgas/font/fgas_gefont.h4
1 files changed, 3 insertions, 1 deletions
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 <map>
+
#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<IFX_Font*> m_SubstFonts;
- CFX_MapPtrToPtr m_FontMapper;
+ std::map<FX_WCHAR, IFX_Font*> m_FontMapper;
FX_BOOL InitFont();
FX_BOOL GetCharBBox(FX_WCHAR wUnicode,
CFX_Rect& bbox,