Index: core/fpdfapi/fpdf_parser/cpdf_document.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_document.cpp b/core/fpdfapi/fpdf_parser/cpdf_document.cpp |
index f90fa3dc78da3c1a3c792a9e87c58d9290fade9f..94b33dcf573fc6d1bb74a36f713d85de154dc7d3 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_document.cpp |
+++ b/core/fpdfapi/fpdf_parser/cpdf_document.cpp |
@@ -23,6 +23,7 @@ |
#include "core/fxcodec/JBig2_DocumentContext.h" |
#include "core/fxge/cfx_unicodeencoding.h" |
#include "core/fxge/fx_font.h" |
+#include "third_party/base/ptr_util.h" |
#include "third_party/base/stl_util.h" |
namespace { |
@@ -415,7 +416,7 @@ CPDF_Document::CPDF_Document(std::unique_ptr<CPDF_Parser> pParser) |
m_dwFirstPageObjNum(0), |
m_pDocPage(new CPDF_DocPageData(this)), |
m_pDocRender(new CPDF_DocRenderData(this)), |
- m_pByteStringPool(WrapUnique(new CFX_ByteStringPool)) { |
+ m_pByteStringPool(pdfium::MakeUnique<CFX_ByteStringPool>()) { |
if (pParser) |
SetLastObjNum(m_pParser->GetLastObjNum()); |
} |