| 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 91beba3a6b8c231d67ccf82d191fc9ac3455f1ba..4815ffba520d369cb87d01223ba087340f6796cf 100644
|
| --- a/core/fpdfapi/parser/cpdf_document_unittest.cpp
|
| +++ b/core/fpdfapi/parser/cpdf_document_unittest.cpp
|
| @@ -88,7 +88,7 @@ class CPDF_TestDocumentForPages : public CPDF_Document {
|
| m_pOwnedRootDict->SetNewFor<CPDF_Reference>("Pages", this,
|
| pagesDict->GetObjNum());
|
| m_pRootDict = m_pOwnedRootDict.get();
|
| - m_PageList.SetSize(7);
|
| + m_PageList.resize(7);
|
| }
|
|
|
| private:
|
| @@ -112,7 +112,7 @@ class CPDF_TestDocumentWithPageWithoutPageNum : public CPDF_Document {
|
| m_pOwnedRootDict->SetNewFor<CPDF_Reference>("Pages", this,
|
| pagesDict->GetObjNum());
|
| m_pRootDict = m_pOwnedRootDict.get();
|
| - m_PageList.SetSize(3);
|
| + m_PageList.resize(3);
|
| }
|
|
|
| private:
|
|
|