diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-29 21:34:56 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-29 21:34:56 +0000 |
commit | 8308b8c3dfad425942d4aba19a6b85049beff6f4 (patch) | |
tree | ada0bf0c19f846b1f45ac4eba165c6dcadaa5063 /xfa/fxfa/cxfa_fflistbox.cpp | |
parent | c30eb662f8a8ea20564e887182e422fd5c4e2099 (diff) | |
download | pdfium-8308b8c3dfad425942d4aba19a6b85049beff6f4.tar.xz |
Add common base class between CXFA_FFComboBox and CXFA_FFListBox
This CL adds a CXFA_FFDropDown to serve as a base class for the
CXFA_FFComboBox and CXFA_FFListBox and adds a virtual InsertItem and
DeleteItem methods.
Change-Id: I325ffc579ed42a4755bae0c4d18667f8a9458950
Reviewed-on: https://pdfium-review.googlesource.com/24550
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_fflistbox.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_fflistbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_fflistbox.cpp b/xfa/fxfa/cxfa_fflistbox.cpp index f4e7a5e6c4..92543e3e6b 100644 --- a/xfa/fxfa/cxfa_fflistbox.cpp +++ b/xfa/fxfa/cxfa_fflistbox.cpp @@ -25,7 +25,7 @@ CFWL_ListBox* ToListBox(CFWL_Widget* widget) { } // namespace CXFA_FFListBox::CXFA_FFListBox(CXFA_Node* pNode) - : CXFA_FFField(pNode), m_pOldDelegate(nullptr) {} + : CXFA_FFDropDown(pNode), m_pOldDelegate(nullptr) {} CXFA_FFListBox::~CXFA_FFListBox() { if (!m_pNormalWidget) |