| Index: xfa/fwl/lightwidget/cfwl_combobox.cpp
|
| diff --git a/xfa/fwl/lightwidget/cfwl_combobox.cpp b/xfa/fwl/lightwidget/cfwl_combobox.cpp
|
| index 9c4cd05e57bd1bb5a0fce0367b0cb252581288be..6a55b3b479f9facbbbfb90f9ebce1f8a36634f5c 100644
|
| --- a/xfa/fwl/lightwidget/cfwl_combobox.cpp
|
| +++ b/xfa/fwl/lightwidget/cfwl_combobox.cpp
|
| @@ -8,6 +8,7 @@
|
|
|
| #include <utility>
|
|
|
| +#include "third_party/base/ptr_util.h"
|
| #include "xfa/fwl/core/fwl_error.h"
|
| #include "xfa/fwl/core/ifwl_widget.h"
|
|
|
| @@ -25,8 +26,8 @@ FWL_Error CFWL_ComboBox::Initialize(const CFWL_WidgetProperties* pProperties) {
|
| if (pProperties) {
|
| *m_pProperties = *pProperties;
|
| }
|
| - std::unique_ptr<IFWL_ComboBox> pComboBox(IFWL_ComboBox::Create(
|
| - m_pProperties->MakeWidgetImpProperties(&m_comboBoxData)));
|
| + std::unique_ptr<IFWL_ComboBox> pComboBox = pdfium::MakeUnique<IFWL_ComboBox>(
|
| + m_pProperties->MakeWidgetImpProperties(&m_comboBoxData));
|
| FWL_Error ret = pComboBox->Initialize();
|
| if (ret != FWL_Error::Succeeded) {
|
| return ret;
|
|
|