Index: xfa/fwl/cfwl_datetimepicker.cpp |
diff --git a/xfa/fwl/cfwl_datetimepicker.cpp b/xfa/fwl/cfwl_datetimepicker.cpp |
index fe7b90307b8ee44716d9b00485f36d2f971f425f..10e26b489190d1d2fcfa948f641c7911b04908b3 100644 |
--- a/xfa/fwl/cfwl_datetimepicker.cpp |
+++ b/xfa/fwl/cfwl_datetimepicker.cpp |
@@ -53,7 +53,8 @@ CFWL_DateTimePicker::CFWL_DateTimePicker(const CFWL_App* app) |
editProp->m_pParent = this; |
editProp->m_pThemeProvider = m_pProperties->m_pThemeProvider; |
- m_pEdit.reset(new CFWL_DateTimeEdit(m_pOwnerApp, std::move(editProp), this)); |
+ m_pEdit = pdfium::MakeUnique<CFWL_DateTimeEdit>(m_pOwnerApp, |
+ std::move(editProp), this); |
RegisterEventTarget(m_pMonthCal.get()); |
RegisterEventTarget(m_pEdit.get()); |
} |