From 4734512572776f8fc705e28fba8a46d981372e99 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 24 May 2017 14:07:18 -0700 Subject: Convert to CFX_UnownedPtr, part 8 Change-Id: I99d6b4df72e369652301c36e4046f03ef95ed07d Reviewed-on: https://pdfium-review.googlesource.com/5837 Commit-Queue: Tom Sepez Reviewed-by: Lei Zhang --- core/fpdfapi/parser/cpdf_hint_tables.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'core/fpdfapi/parser/cpdf_hint_tables.h') diff --git a/core/fpdfapi/parser/cpdf_hint_tables.h b/core/fpdfapi/parser/cpdf_hint_tables.h index e0bc6e0751..25f276ce55 100644 --- a/core/fpdfapi/parser/cpdf_hint_tables.h +++ b/core/fpdfapi/parser/cpdf_hint_tables.h @@ -10,6 +10,7 @@ #include #include "core/fpdfapi/parser/cpdf_data_avail.h" +#include "core/fxcrt/cfx_unowned_ptr.h" #include "core/fxcrt/fx_basic.h" #include "core/fxcrt/fx_stream.h" @@ -51,10 +52,10 @@ class CPDF_HintTables { const std::vector& szArray); // Owner, outlives this object. - CPDF_DataAvail* const m_pDataAvail; + CFX_UnownedPtr const m_pDataAvail; // Owned by |m_pDataAvail|. - CPDF_LinearizedHeader* const m_pLinearized; + CFX_UnownedPtr const m_pLinearized; uint32_t m_nFirstPageSharedObjs; FX_FILESIZE m_szFirstPageObjOffset; -- cgit v1.2.3