| Index: core/fpdfapi/parser/cpdf_parser.cpp
|
| diff --git a/core/fpdfapi/parser/cpdf_parser.cpp b/core/fpdfapi/parser/cpdf_parser.cpp
|
| index 91f157c2693ba922a9b0b64a406298605e0ebc95..c8c07bd0b7053f02e7e0cae312bae97bb71359cf 100644
|
| --- a/core/fpdfapi/parser/cpdf_parser.cpp
|
| +++ b/core/fpdfapi/parser/cpdf_parser.cpp
|
| @@ -956,9 +956,8 @@ bool CPDF_Parser::LoadCrossRefV5(FX_FILESIZE* pos, bool bMainXRef) {
|
| CPDF_Dictionary* pRootDict = m_pDocument->GetRoot();
|
| if (pRootDict && pRootDict->GetObjNum() == objnum)
|
| return false;
|
| - // Takes ownership of object (std::move someday).
|
| if (!m_pDocument->ReplaceIndirectObjectIfHigherGeneration(
|
| - objnum, pObject.release())) {
|
| + objnum, std::move(pObject))) {
|
| return false;
|
| }
|
| }
|
|
|