summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/PWL_ListBox.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-09-15 12:41:50 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-15 12:41:50 -0700
commit8faac627c4562098c62f8497e56a44500c3c199b (patch)
tree1eeca4146f5376e4416b39c52a091a6d60d93d54 /fpdfsdk/pdfwindow/PWL_ListBox.h
parent4935e606c632e38af8fca1729f8688fa0d152b90 (diff)
downloadpdfium-8faac627c4562098c62f8497e56a44500c3c199b.tar.xz
Cleanup CFX_SystemHandler.
This CL cleans up signatures and code in CFX_SystemHandler. Review-Url: https://codereview.chromium.org/2341693003
Diffstat (limited to 'fpdfsdk/pdfwindow/PWL_ListBox.h')
-rw-r--r--fpdfsdk/pdfwindow/PWL_ListBox.h7
1 files changed, 3 insertions, 4 deletions
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<CFX_ListCtrl> m_pList;
std::unique_ptr<CPWL_List_Notify> 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_