diff options
Diffstat (limited to 'core/fpdfapi/parser/cpdf_stream_acc.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_stream_acc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fpdfapi/parser/cpdf_stream_acc.h b/core/fpdfapi/parser/cpdf_stream_acc.h index 3c42639828..ddbdc6ae0f 100644 --- a/core/fpdfapi/parser/cpdf_stream_acc.h +++ b/core/fpdfapi/parser/cpdf_stream_acc.h @@ -41,13 +41,12 @@ class CPDF_StreamAcc final : public Retainable { const CPDF_Dictionary* GetImageParam() const { return m_pImageParam.Get(); } std::unique_ptr<uint8_t, FxFreeDeleter> DetachData(); - protected: + private: explicit CPDF_StreamAcc(const CPDF_Stream* pStream); ~CPDF_StreamAcc() override; void LoadAllData(bool bRawAccess, uint32_t estimated_size, bool bImageAcc); - private: uint8_t* m_pData = nullptr; uint32_t m_dwSize = 0; bool m_bNewBuf = false; |