Index: core/fpdfapi/parser/cpdf_data_avail.h |
diff --git a/core/fpdfapi/parser/cpdf_data_avail.h b/core/fpdfapi/parser/cpdf_data_avail.h |
index 138fe1e3d843856f3a90d0c4da018a8d3d12543e..edaf672090ee043f8d38ac8a4d34f41b52c27627 100644 |
--- a/core/fpdfapi/parser/cpdf_data_avail.h |
+++ b/core/fpdfapi/parser/cpdf_data_avail.h |
@@ -16,6 +16,7 @@ |
class CPDF_Dictionary; |
class CPDF_HintTables; |
class CPDF_IndirectObjectHolder; |
+class CPDF_Linearized; |
class CPDF_Parser; |
enum PDF_DATAAVAIL_STATUS { |
@@ -199,7 +200,7 @@ class CPDF_DataAvail final { |
CPDF_Object* m_pRoot; |
uint32_t m_dwRootObjNum; |
uint32_t m_dwInfoObjNum; |
- CPDF_Object* m_pLinearized; |
+ std::unique_ptr<CPDF_Linearized> m_pLinearized; |
CPDF_Object* m_pTrailer; |
FX_BOOL m_bDocAvail; |
FX_FILESIZE m_dwHeaderOffset; |
@@ -220,8 +221,6 @@ class CPDF_DataAvail final { |
CFX_ArrayTemplate<uint32_t> m_XRefStreamList; |
CFX_ArrayTemplate<uint32_t> m_PageObjList; |
uint32_t m_PagesObjNum; |
- FX_BOOL m_bLinearized; |
- uint32_t m_dwFirstPageNo; |
FX_BOOL m_bLinearedDataOK; |
FX_BOOL m_bMainXRefLoadTried; |
FX_BOOL m_bMainXRefLoadedOK; |