Index: core/fpdfapi/parser/cpdf_parser.h |
diff --git a/core/fpdfapi/parser/cpdf_parser.h b/core/fpdfapi/parser/cpdf_parser.h |
index b8ce7ab2948da0d3d2c3a8c6a1421b2d4570485e..3be157a1a2065d5bf6c67862d1f5ff53ed6adec3 100644 |
--- a/core/fpdfapi/parser/cpdf_parser.h |
+++ b/core/fpdfapi/parser/cpdf_parser.h |
@@ -19,7 +19,6 @@ |
class CPDF_Dictionary; |
class CPDF_Document; |
class CPDF_IndirectObjectHolder; |
-class CPDF_Linearized; |
class CPDF_Object; |
class CPDF_SecurityHandler; |
class CPDF_StreamAcc; |
@@ -89,7 +88,7 @@ |
uint32_t objnum, |
FX_FILESIZE* pResultPos); |
- uint32_t GetFirstPageNo() const; |
+ uint32_t GetFirstPageNo() const { return m_dwFirstPageNo; } |
protected: |
struct ObjectInfo { |
@@ -158,7 +157,8 @@ |
std::set<FX_FILESIZE> m_SortedOffset; |
std::vector<CPDF_Dictionary*> m_Trailers; |
bool m_bVersionUpdated; |
- std::unique_ptr<CPDF_Linearized> m_pLinearized; |
+ CPDF_Object* m_pLinearized; |
+ uint32_t m_dwFirstPageNo; |
uint32_t m_dwXrefStartObjNum; |
// A map of object numbers to indirect streams. Map owns the streams. |