Index: xfa/src/fwl/src/lightwidget/scrollbar.cpp |
diff --git a/xfa/src/fwl/src/lightwidget/scrollbar.cpp b/xfa/src/fwl/src/lightwidget/scrollbar.cpp |
index bb346a4728d401a58bf1d30e8c59bf9db694a63b..eaf9b575ef38b6687f75f2c689133f0cf0d06279 100644 |
--- a/xfa/src/fwl/src/lightwidget/scrollbar.cpp |
+++ b/xfa/src/fwl/src/lightwidget/scrollbar.cpp |
@@ -14,7 +14,7 @@ FWL_ERR CFWL_ScrollBar::Initialize(const CFWL_WidgetProperties* pProperties) { |
if (pProperties) { |
*m_pProperties = *pProperties; |
} |
- m_pIface = IFWL_ScrollBar::Create(); |
+ m_pIface = new IFWL_ScrollBar; |
FWL_ERR ret = |
((IFWL_ScrollBar*)m_pIface) |
->Initialize(m_pProperties->MakeWidgetImpProperties(nullptr), |