From 8faac627c4562098c62f8497e56a44500c3c199b Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 15 Sep 2016 12:41:50 -0700 Subject: Cleanup CFX_SystemHandler. This CL cleans up signatures and code in CFX_SystemHandler. Review-Url: https://codereview.chromium.org/2341693003 --- fpdfsdk/pdfwindow/PWL_ListBox.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'fpdfsdk/pdfwindow/PWL_ListBox.h') diff --git a/fpdfsdk/pdfwindow/PWL_ListBox.h b/fpdfsdk/pdfwindow/PWL_ListBox.h index e42ca24ab4..294414a85f 100644 --- a/fpdfsdk/pdfwindow/PWL_ListBox.h +++ b/fpdfsdk/pdfwindow/PWL_ListBox.h @@ -99,6 +99,8 @@ class CPWL_ListBox : public CPWL_Wnd { m_pFillerNotify = pNotify; } + void AttachFFLData(CFFL_FormFiller* pData) { m_pFormFiller = pData; } + protected: std::unique_ptr m_pList; std::unique_ptr m_pListNotify; @@ -106,11 +108,8 @@ class CPWL_ListBox : public CPWL_Wnd { FX_BOOL m_bHoverSel; IPWL_Filler_Notify* m_pFillerNotify; - public: - void AttachFFLData(void* pData) { m_pFormFiller = pData; } - private: - void* m_pFormFiller; + CFFL_FormFiller* m_pFormFiller; // Not owned. }; #endif // FPDFSDK_PDFWINDOW_PWL_LISTBOX_H_ -- cgit v1.2.3