| Index: core/fpdfapi/fpdf_parser/cpdf_stream.h
|
| diff --git a/core/fpdfapi/fpdf_parser/cpdf_stream.h b/core/fpdfapi/fpdf_parser/cpdf_stream.h
|
| index e3bba963469496be3591c842a462b978abaafa3a..e0a95f6c94a8ed32dbdef2738c2bdfcc0149a2ce 100644
|
| --- a/core/fpdfapi/fpdf_parser/cpdf_stream.h
|
| +++ b/core/fpdfapi/fpdf_parser/cpdf_stream.h
|
| @@ -20,6 +20,7 @@ class CPDF_Stream : public CPDF_Object {
|
|
|
| // Takes ownership of |pData| and |pDict|.
|
| CPDF_Stream(uint8_t* pData, uint32_t size, CPDF_Dictionary* pDict);
|
| + ~CPDF_Stream() override;
|
|
|
| // CPDF_Object.
|
| Type GetType() const override;
|
| @@ -46,14 +47,13 @@ class CPDF_Stream : public CPDF_Object {
|
| bool IsMemoryBased() const { return m_bMemoryBased; }
|
|
|
| protected:
|
| - ~CPDF_Stream() override;
|
| CPDF_Object* CloneNonCyclic(
|
| bool bDirect,
|
| std::set<const CPDF_Object*>* pVisited) const override;
|
|
|
| - std::unique_ptr<CPDF_Dictionary, ReleaseDeleter<CPDF_Dictionary>> m_pDict;
|
| bool m_bMemoryBased = true;
|
| uint32_t m_dwSize = 0;
|
| + std::unique_ptr<CPDF_Dictionary> m_pDict;
|
| std::unique_ptr<uint8_t, FxFreeDeleter> m_pDataBuf;
|
| IFX_FileRead* m_pFile = nullptr;
|
| };
|
|
|