diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-08-16 11:08:33 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-16 17:19:42 +0000 |
commit | 816d7e4a0dccc049a1defe8a17e1b05c211665e1 (patch) | |
tree | a93c632b87bd4614ad34a570bb86e7cf8b6c44fb /xfa/fxfa/cxfa_ffapp.cpp | |
parent | 0c6b07d3fdbbabda8753e6457f4323237fc5be30 (diff) | |
download | pdfium-816d7e4a0dccc049a1defe8a17e1b05c211665e1.tar.xz |
Remove CFWL_WidgetMgrDelegate
This class is actually an accidentally renamed interface. There is only
one concrete class so fold the interface back into the concrete class.
Change-Id: If921a34595fad85750389f071ffdc9a5eae09f8e
Reviewed-on: https://pdfium-review.googlesource.com/11150
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffapp.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffapp.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_ffapp.cpp b/xfa/fxfa/cxfa_ffapp.cpp index b766cdc40f..6c14a981db 100644 --- a/xfa/fxfa/cxfa_ffapp.cpp +++ b/xfa/fxfa/cxfa_ffapp.cpp @@ -77,12 +77,11 @@ CXFA_FWLTheme* CXFA_FFApp::GetFWLTheme() { return m_pFWLTheme.get(); } -CXFA_FWLAdapterWidgetMgr* CXFA_FFApp::GetWidgetMgr( - CFWL_WidgetMgrDelegate* pDelegate) { +CXFA_FWLAdapterWidgetMgr* CXFA_FFApp::GetWidgetMgr(CFWL_WidgetMgr* pDelegate) { if (!m_pAdapterWidgetMgr) { m_pAdapterWidgetMgr = pdfium::MakeUnique<CXFA_FWLAdapterWidgetMgr>(); pDelegate->OnSetCapability(FWL_WGTMGR_DisableForm); - m_pWidgetMgrDelegate = pDelegate; + m_pWidgetMgr = pDelegate; } return m_pAdapterWidgetMgr.get(); } |