| Index: core/fpdfapi/page/cpdf_streamcontentparser.cpp
|
| diff --git a/core/fpdfapi/page/cpdf_streamcontentparser.cpp b/core/fpdfapi/page/cpdf_streamcontentparser.cpp
|
| index 60c9b527a364f2b171c02eebf122d7457bf4dd9b..7f20b227b61b56c9aa1637498ec0a9c65fc37b44 100644
|
| --- a/core/fpdfapi/page/cpdf_streamcontentparser.cpp
|
| +++ b/core/fpdfapi/page/cpdf_streamcontentparser.cpp
|
| @@ -706,8 +706,7 @@ CPDF_ImageObject* CPDF_StreamContentParser::AddImage(UniqueStream pStream) {
|
|
|
| auto pImageObj = pdfium::MakeUnique<CPDF_ImageObject>();
|
| pImageObj->SetOwnedImage(
|
| - pdfium::MakeUnique<CPDF_Image>(m_pDocument, pStream.release(), true));
|
| -
|
| + pdfium::MakeUnique<CPDF_Image>(m_pDocument, std::move(pStream)));
|
| return AddImageObject(std::move(pImageObj));
|
| }
|
|
|
|
|