Chromium Code Reviews| Index: xfa/fgas/font/cfgas_gefont.h |
| diff --git a/xfa/fgas/font/cfgas_gefont.h b/xfa/fgas/font/cfgas_gefont.h |
| index 962b93fbb5824ad62bcfa686e5ce2e8ce53067db..c1396e52c8654bdad97a5cf7d7ae993f2dfda36f 100644 |
| --- a/xfa/fgas/font/cfgas_gefont.h |
| +++ b/xfa/fgas/font/cfgas_gefont.h |
| @@ -109,7 +109,7 @@ class CFGAS_GEFont : public CFX_Retainable { |
| std::unique_ptr<CFX_UnicodeEncoding> m_pFontEncoding; |
| std::unique_ptr<CFX_DiscreteArrayTemplate<uint16_t>> m_pCharWidthMap; |
| std::unique_ptr<CFX_MassArrayTemplate<CFX_Rect>> m_pRectArray; |
| - std::unique_ptr<CFX_MapPtrToPtr> m_pBBoxMap; |
| + std::map<FX_WCHAR, CFX_Rect*> m_BBoxMap; |
|
dsinclair
2017/01/06 02:40:29
Add comment that the Rect* is owned by m_pRectArra
Tom Sepez
2017/01/06 17:27:03
Done.
|
| CXFA_PDFFontMgr* m_pProvider; // not owned. |
| std::vector<CFX_RetainPtr<CFGAS_GEFont>> m_SubstFonts; |
| std::map<FX_WCHAR, CFX_RetainPtr<CFGAS_GEFont>> m_FontMapper; |