From 4df55209c2f922f33c2f69fadfff5d30026e89d2 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 2 Mar 2017 09:47:08 -0800 Subject: Remove CFX_MassArrayTemplate backing array. The map is one-to-one, so no need for a pointer to an externally stored rect. Change-Id: I4cd6f728cdadeb4c7b25b6f34f5d50bb5db89623 Reviewed-on: https://pdfium-review.googlesource.com/2896 Commit-Queue: dsinclair Reviewed-by: dsinclair --- xfa/fgas/font/cfgas_gefont.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xfa/fgas/font/cfgas_gefont.h') diff --git a/xfa/fgas/font/cfgas_gefont.h b/xfa/fgas/font/cfgas_gefont.h index 6c9d890df4..2201721a93 100644 --- a/xfa/fgas/font/cfgas_gefont.h +++ b/xfa/fgas/font/cfgas_gefont.h @@ -109,8 +109,7 @@ class CFGAS_GEFont : public CFX_Retainable { CFX_RetainPtr m_pFileRead; std::unique_ptr m_pFontEncoding; std::unique_ptr> m_pCharWidthMap; - std::unique_ptr> m_pRectArray; - std::map m_BBoxMap; // Rect owned by m_pRectArray. + std::map m_BBoxMap; CXFA_PDFFontMgr* m_pProvider; // not owned. std::vector> m_SubstFonts; std::map> m_FontMapper; -- cgit v1.2.3