Index: xfa/src/fwl/src/lightwidget/picturebox.cpp |
diff --git a/xfa/src/fwl/src/lightwidget/picturebox.cpp b/xfa/src/fwl/src/lightwidget/picturebox.cpp |
index 5ccefa9076b16223451daf932359343f703a8e14..7d8e201d85f194184356b011e2a87de1716b57cc 100644 |
--- a/xfa/src/fwl/src/lightwidget/picturebox.cpp |
+++ b/xfa/src/fwl/src/lightwidget/picturebox.cpp |
@@ -14,7 +14,7 @@ FWL_ERR CFWL_PictureBox::Initialize(const CFWL_WidgetProperties* pProperties) { |
if (pProperties) { |
*m_pProperties = *pProperties; |
} |
- m_pIface = IFWL_PictureBox::Create(); |
+ m_pIface = new IFWL_PictureBox; |
FWL_ERR ret = |
((IFWL_PictureBox*)m_pIface) |
->Initialize(m_pProperties->MakeWidgetImpProperties(&m_PictureBoxDP), |