From c6ab97b5b5be7083c4929b7f08b33203a7f932da Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 14 Sep 2018 21:56:59 +0000 Subject: Use UnownedPtr in CFX_UnicodeEncoding. Change-Id: I410909be359a5b5bb0c90d42064144771183525e Reviewed-on: https://pdfium-review.googlesource.com/42461 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- xfa/fgas/font/cfgas_gefont.h | 4 ++-- 1 file changed, 2 insertions(+), 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 2eadd5aaae..407a232595 100644 --- a/xfa/fgas/font/cfgas_gefont.h +++ b/xfa/fgas/font/cfgas_gefont.h @@ -18,7 +18,7 @@ #include "xfa/fgas/font/cfgas_fontmgr.h" #include "xfa/fgas/font/cfgas_pdffontmgr.h" -class CFX_UnicodeEncoding; +class CFX_UnicodeEncodingEx; class CFGAS_GEFont final : public Retainable { public: @@ -75,7 +75,7 @@ class CFGAS_GEFont final : public Retainable { uint32_t m_dwLogFontStyle = 0; CFX_Font* m_pFont = nullptr; CFGAS_FontMgr::ObservedPtr const m_pFontMgr; - std::unique_ptr m_pFontEncoding; + std::unique_ptr m_pFontEncoding; std::map m_CharWidthMap; std::map m_BBoxMap; std::vector> m_SubstFonts; -- cgit v1.2.3