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 0a8716a498906ca9b7515c45156df297138ef691..bff9f2943b8f5fb3289089cad3514e70a06bc49e 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; |
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; |
- bool m_bLinearized; |
- uint32_t m_dwFirstPageNo; |
bool m_bLinearedDataOK; |
bool m_bMainXRefLoadTried; |
bool m_bMainXRefLoadedOK; |