From 96c7b33510c5d48ef5707326de88b35dcd2e4b45 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Mon, 31 Oct 2016 09:44:45 -0700 Subject: Remove unused parameter to CFWL_* Initialize methods. This parameter is always nullptr, removed. Review-Url: https://codereview.chromium.org/2463073002 --- xfa/fwl/core/cfwl_listbox.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'xfa/fwl/core/cfwl_listbox.cpp') diff --git a/xfa/fwl/core/cfwl_listbox.cpp b/xfa/fwl/core/cfwl_listbox.cpp index f8a5e199c2..5820a27926 100644 --- a/xfa/fwl/core/cfwl_listbox.cpp +++ b/xfa/fwl/core/cfwl_listbox.cpp @@ -14,18 +14,15 @@ CFWL_ListBox::CFWL_ListBox(const IFWL_App* app) : CFWL_Widget(app) {} CFWL_ListBox::~CFWL_ListBox() {} -void CFWL_ListBox::Initialize(const CFWL_WidgetProperties* pProperties) { +void CFWL_ListBox::Initialize() { ASSERT(!m_pIface); - if (pProperties) - *m_pProperties = *pProperties; - std::unique_ptr pListBox(new IFWL_ListBox( m_pApp, m_pProperties->MakeWidgetImpProperties(&m_ListBoxDP), nullptr)); pListBox->Initialize(); m_pIface = std::move(pListBox); - CFWL_Widget::Initialize(pProperties); + CFWL_Widget::Initialize(); } IFWL_ListBox* CFWL_ListBox::GetWidget() { -- cgit v1.2.3