Index: fpdfsdk/formfiller/cffl_listbox.cpp |
diff --git a/fpdfsdk/formfiller/cffl_listbox.cpp b/fpdfsdk/formfiller/cffl_listbox.cpp |
index 664c02dc363cf706e043f6e04b93c7ec339b3524..ab437d401e17a5a52378432c54df58c6d48a2628 100644 |
--- a/fpdfsdk/formfiller/cffl_listbox.cpp |
+++ b/fpdfsdk/formfiller/cffl_listbox.cpp |
@@ -13,6 +13,7 @@ |
#include "fpdfsdk/formfiller/cffl_interactiveformfiller.h" |
#include "fpdfsdk/fsdk_common.h" |
#include "fpdfsdk/pdfwindow/PWL_ListBox.h" |
+#include "third_party/base/ptr_util.h" |
#define FFL_DEFAULTLISTBOXFONTSIZE 12.0f |
@@ -37,7 +38,7 @@ PWL_CREATEPARAM CFFL_ListBox::GetCreateParam() { |
if (!m_pFontMap) { |
m_pFontMap = |
- WrapUnique(new CBA_FontMap(m_pWidget, m_pEnv->GetSysHandler())); |
+ pdfium::MakeUnique<CBA_FontMap>(m_pWidget, m_pEnv->GetSysHandler()); |
} |
cp.pFontMap = m_pFontMap.get(); |