| Index: fpdfsdk/cpdfsdk_document.cpp
|
| diff --git a/fpdfsdk/cpdfsdk_document.cpp b/fpdfsdk/cpdfsdk_document.cpp
|
| index ad4516d53c1b2606bcce360720b5d6d67c5ca77d..1d35fb8799433e1cf4e7d119b6816e7d8c41cac9 100644
|
| --- a/fpdfsdk/cpdfsdk_document.cpp
|
| +++ b/fpdfsdk/cpdfsdk_document.cpp
|
| @@ -20,6 +20,7 @@
|
| #include "fpdfsdk/cpdfsdk_pageview.h"
|
| #include "fpdfsdk/cpdfsdk_widget.h"
|
| #include "fpdfsdk/fsdk_actionhandler.h"
|
| +#include "third_party/base/ptr_util.h"
|
|
|
| // static
|
| CPDFSDK_Document* CPDFSDK_Document::FromFPDFFormHandle(
|
| @@ -158,7 +159,7 @@ UnderlyingPageType* CPDFSDK_Document::GetPage(int nIndex) {
|
|
|
| CPDFSDK_InterForm* CPDFSDK_Document::GetInterForm() {
|
| if (!m_pInterForm)
|
| - m_pInterForm = WrapUnique(new CPDFSDK_InterForm(this));
|
| + m_pInterForm = pdfium::MakeUnique<CPDFSDK_InterForm>(this);
|
| return m_pInterForm.get();
|
| }
|
|
|
|
|