Index: xfa/fwl/core/ifwl_formproxy.cpp |
diff --git a/xfa/fwl/core/ifwl_formproxy.cpp b/xfa/fwl/core/ifwl_formproxy.cpp |
index 16cd90813d2843dea876d4f51746420eef5f610e..f79e915378ee02c411333387009b34122223b7ef 100644 |
--- a/xfa/fwl/core/ifwl_formproxy.cpp |
+++ b/xfa/fwl/core/ifwl_formproxy.cpp |
@@ -50,6 +50,5 @@ CFWL_FormProxyImpDelegate::CFWL_FormProxyImpDelegate(IFWL_FormProxy* pOwner) |
: m_pOwner(pOwner) {} |
void CFWL_FormProxyImpDelegate::OnProcessMessage(CFWL_Message* pMessage) { |
- IFWL_WidgetDelegate* pDelegate = m_pOwner->m_pOuter->SetDelegate(nullptr); |
- pDelegate->OnProcessMessage(pMessage); |
+ m_pOwner->m_pOuter->GetCurrentDelegate()->OnProcessMessage(pMessage); |
} |