Index: xfa/src/fwl/src/lightwidget/edit.cpp |
diff --git a/xfa/src/fwl/src/lightwidget/edit.cpp b/xfa/src/fwl/src/lightwidget/edit.cpp |
index 6fb3429725082bef50ae9af34fa01cf136580507..8e89e6474bcb7ee1f6d5a0d5ccc14cbd57230025 100644 |
--- a/xfa/src/fwl/src/lightwidget/edit.cpp |
+++ b/xfa/src/fwl/src/lightwidget/edit.cpp |
@@ -14,7 +14,7 @@ FWL_ERR CFWL_Edit::Initialize(const CFWL_WidgetProperties* pProperties) { |
if (pProperties) { |
*m_pProperties = *pProperties; |
} |
- m_pIface = IFWL_Edit::Create(); |
+ m_pIface = new IFWL_Edit; |
FWL_ERR ret = |
((IFWL_Edit*)m_pIface) |
->Initialize(m_pProperties->MakeWidgetImpProperties(nullptr), |