From 033e565d8244953afe8eab3d0c7ee1ed9863c921 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 23 May 2017 16:18:28 -0700 Subject: Convert to CFX_UnownedPtr, part 5 Change-Id: Ibdb20fca7e4daae9d61286df4801ac02faf3b281 Reviewed-on: https://pdfium-review.googlesource.com/5831 Commit-Queue: Lei Zhang Reviewed-by: Lei Zhang --- core/fpdfdoc/cpvt_fontmap.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'core/fpdfdoc/cpvt_fontmap.h') diff --git a/core/fpdfdoc/cpvt_fontmap.h b/core/fpdfdoc/cpvt_fontmap.h index 6080010cac..da69463d95 100644 --- a/core/fpdfdoc/cpvt_fontmap.h +++ b/core/fpdfdoc/cpvt_fontmap.h @@ -10,6 +10,7 @@ #include #include "core/fpdfdoc/ipvt_fontmap.h" +#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_string.h" class CPDF_Document; @@ -38,11 +39,11 @@ class CPVT_FontMap : public IPVT_FontMap { CFX_ByteString* sSysFontAlias); private: - CPDF_Document* const m_pDocument; - const CPDF_Dictionary* const m_pResDict; - CPDF_Font* const m_pDefFont; + CFX_UnownedPtr const m_pDocument; + CFX_UnownedPtr const m_pResDict; + CFX_UnownedPtr const m_pDefFont; + CFX_UnownedPtr m_pSysFont; const CFX_ByteString m_sDefFontAlias; - CPDF_Font* m_pSysFont; CFX_ByteString m_sSysFontAlias; }; -- cgit v1.2.3