| Index: xfa/fwl/core/cfwl_widget.cpp
|
| diff --git a/xfa/fwl/core/cfwl_widget.cpp b/xfa/fwl/core/cfwl_widget.cpp
|
| index 999a5a8443a2e03bbe449b23900b54eec8abb317..db0d4ebb5e4d786a1a47727dbec56901a7e47630 100644
|
| --- a/xfa/fwl/core/cfwl_widget.cpp
|
| +++ b/xfa/fwl/core/cfwl_widget.cpp
|
| @@ -127,11 +127,11 @@ FWL_Error CFWL_Widget::DrawWidget(CFX_Graphics* pGraphics,
|
| return m_pIface->DrawWidget(pGraphics, pMatrix);
|
| }
|
|
|
| -IFWL_WidgetDelegate* CFWL_Widget::GetCurrentDelegate() {
|
| - return m_pIface ? m_pIface->GetCurrentDelegate() : nullptr;
|
| +IFWL_WidgetDelegate* CFWL_Widget::GetDelegate() const {
|
| + return m_pIface ? m_pIface->GetDelegate() : nullptr;
|
| }
|
|
|
| -void CFWL_Widget::SetCurrentDelegate(IFWL_WidgetDelegate* pDelegate) {
|
| +void CFWL_Widget::SetDelegate(IFWL_WidgetDelegate* pDelegate) {
|
| if (m_pIface)
|
| - m_pIface->SetCurrentDelegate(pDelegate);
|
| + m_pIface->SetDelegate(pDelegate);
|
| }
|
|
|