summaryrefslogtreecommitdiff
path: root/xfa/fwl/lightwidget/cfwl_edit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/lightwidget/cfwl_edit.cpp')
-rw-r--r--xfa/fwl/lightwidget/cfwl_edit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fwl/lightwidget/cfwl_edit.cpp b/xfa/fwl/lightwidget/cfwl_edit.cpp
index 191bbd68eb..f5f0eb9c89 100644
--- a/xfa/fwl/lightwidget/cfwl_edit.cpp
+++ b/xfa/fwl/lightwidget/cfwl_edit.cpp
@@ -23,8 +23,8 @@ FWL_Error CFWL_Edit::Initialize(const CFWL_WidgetProperties* pProperties) {
if (pProperties) {
*m_pProperties = *pProperties;
}
- std::unique_ptr<IFWL_Edit> pEdit(IFWL_Edit::Create(
- m_pProperties->MakeWidgetImpProperties(nullptr), nullptr));
+ std::unique_ptr<IFWL_Edit> pEdit(
+ new IFWL_Edit(m_pProperties->MakeWidgetImpProperties(nullptr), nullptr));
FWL_Error ret = pEdit->Initialize();
if (ret != FWL_Error::Succeeded) {
return ret;