summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_ffchoicelist.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-10-31 09:44:45 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-31 09:44:45 -0700
commit96c7b33510c5d48ef5707326de88b35dcd2e4b45 (patch)
tree197df79ed8b51d3b7778faa570f20d82e5bf8fda /xfa/fxfa/app/xfa_ffchoicelist.cpp
parentfea997eb29e08a85038b5fc3b14bcaa35da369e4 (diff)
downloadpdfium-96c7b33510c5d48ef5707326de88b35dcd2e4b45.tar.xz
Remove unused parameter to CFWL_* Initialize methods.
This parameter is always nullptr, removed. Review-Url: https://codereview.chromium.org/2463073002
Diffstat (limited to 'xfa/fxfa/app/xfa_ffchoicelist.cpp')
-rw-r--r--xfa/fxfa/app/xfa_ffchoicelist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/app/xfa_ffchoicelist.cpp b/xfa/fxfa/app/xfa_ffchoicelist.cpp
index 26efee94b1..0c6c22c815 100644
--- a/xfa/fxfa/app/xfa_ffchoicelist.cpp
+++ b/xfa/fxfa/app/xfa_ffchoicelist.cpp
@@ -33,7 +33,7 @@ CXFA_FFListBox::~CXFA_FFListBox() {
FX_BOOL CXFA_FFListBox::LoadWidget() {
CFWL_ListBox* pListBox = new CFWL_ListBox(GetFWLApp());
- pListBox->Initialize(nullptr);
+ pListBox->Initialize();
pListBox->ModifyStyles(FWL_WGTSTYLE_VScroll | FWL_WGTSTYLE_NoBackground,
0xFFFFFFFF);
m_pNormalWidget = (CFWL_Widget*)pListBox;
@@ -231,7 +231,7 @@ FX_BOOL CXFA_FFComboBox::PtInActiveRect(FX_FLOAT fx, FX_FLOAT fy) {
}
FX_BOOL CXFA_FFComboBox::LoadWidget() {
CFWL_ComboBox* pComboBox = new CFWL_ComboBox(GetFWLApp());
- pComboBox->Initialize(nullptr);
+ pComboBox->Initialize();
m_pNormalWidget = (CFWL_Widget*)pComboBox;
m_pNormalWidget->SetLayoutItem(this);