Index: xfa/fwl/lightwidget/cfwl_widget.cpp |
diff --git a/xfa/fwl/lightwidget/cfwl_widget.cpp b/xfa/fwl/lightwidget/cfwl_widget.cpp |
index 8d3237605f858276446f488bde3ccb0a66c42261..88a2bf00cc00b210343e862f993ef9aa257cdbac 100644 |
--- a/xfa/fwl/lightwidget/cfwl_widget.cpp |
+++ b/xfa/fwl/lightwidget/cfwl_widget.cpp |
@@ -217,7 +217,7 @@ IFWL_WidgetDelegate* CFWL_Widget::SetDelegate(IFWL_WidgetDelegate* pDelegate) { |
CFWL_Widget::CFWL_Widget() |
: m_pIface(nullptr), m_pDelegate(nullptr), m_pProperties(nullptr) { |
m_pProperties = new CFWL_WidgetProperties; |
- m_pWidgetMgr = static_cast<CFWL_WidgetMgr*>(FWL_GetWidgetMgr()); |
+ m_pWidgetMgr = static_cast<CFWL_WidgetMgr*>(IFWL_WidgetMgr::GetInstance()); |
Lei Zhang
2016/05/23 21:57:20
Do we want to get rid of IFWL_WidgetMgr altogether
Tom Sepez
2016/05/23 22:02:54
Yes, I think so.
|
ASSERT(m_pWidgetMgr); |
} |