Index: core/fpdfapi/fpdf_parser/cpdf_hint_tables.h |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_hint_tables.h b/core/fpdfapi/fpdf_parser/cpdf_hint_tables.h |
index 28ccccb6fc27f50cd4b6efd6266e60f189518de0..33b6b39323a667054fb12eea6f8dd43ba492528b 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_hint_tables.h |
+++ b/core/fpdfapi/fpdf_parser/cpdf_hint_tables.h |
@@ -21,8 +21,8 @@ class CPDF_Stream; |
class CPDF_HintTables { |
public: |
CPDF_HintTables(CPDF_DataAvail* pDataAvail, CPDF_Dictionary* pLinearized) |
- : m_pLinearizedDict(pLinearized), |
- m_pDataAvail(pDataAvail), |
+ : m_pDataAvail(pDataAvail), |
+ m_pLinearizedDict(pLinearized), |
m_nFirstPageSharedObjs(0), |
m_szFirstPageObjOffset(0) {} |
~CPDF_HintTables(); |
@@ -47,8 +47,12 @@ class CPDF_HintTables { |
int ReadPrimaryHintStreamOffset() const; |
int ReadPrimaryHintStreamLength() const; |
- CPDF_Dictionary* m_pLinearizedDict; |
- CPDF_DataAvail* m_pDataAvail; |
+ // Owner, outlives this object. |
+ CPDF_DataAvail* const m_pDataAvail; |
+ |
+ // Owned by |m_pDataAvail|. |
+ CPDF_Dictionary* const m_pLinearizedDict; |
+ |
uint32_t m_nFirstPageSharedObjs; |
FX_FILESIZE m_szFirstPageObjOffset; |
CFX_ArrayTemplate<uint32_t> m_dwDeltaNObjsArray; |