| Index: core/fpdfapi/parser/cpdf_document_unittest.cpp
|
| diff --git a/core/fpdfapi/parser/cpdf_document_unittest.cpp b/core/fpdfapi/parser/cpdf_document_unittest.cpp
|
| index e4fe033c8a1e5665cf890352d1c9e7c011b0b254..91beba3a6b8c231d67ccf82d191fc9ac3455f1ba 100644
|
| --- a/core/fpdfapi/parser/cpdf_document_unittest.cpp
|
| +++ b/core/fpdfapi/parser/cpdf_document_unittest.cpp
|
| @@ -108,7 +108,7 @@ class CPDF_TestDocumentWithPageWithoutPageNum : public CPDF_Document {
|
| allPages->Add(CreateNumberedPage(2));
|
| CPDF_Dictionary* pagesDict =
|
| CreatePageTreeNode(std::move(allPages), this, 3);
|
| - m_pOwnedRootDict.reset(new CPDF_Dictionary());
|
| + m_pOwnedRootDict = pdfium::MakeUnique<CPDF_Dictionary>();
|
| m_pOwnedRootDict->SetNewFor<CPDF_Reference>("Pages", this,
|
| pagesDict->GetObjNum());
|
| m_pRootDict = m_pOwnedRootDict.get();
|
|
|