summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_combobox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/cfwl_combobox.cpp')
-rw-r--r--xfa/fwl/core/cfwl_combobox.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/xfa/fwl/core/cfwl_combobox.cpp b/xfa/fwl/core/cfwl_combobox.cpp
index 825df9c538..d873d6b06e 100644
--- a/xfa/fwl/core/cfwl_combobox.cpp
+++ b/xfa/fwl/core/cfwl_combobox.cpp
@@ -15,18 +15,15 @@ CFWL_ComboBox::CFWL_ComboBox(const IFWL_App* app) : CFWL_Widget(app) {}
CFWL_ComboBox::~CFWL_ComboBox() {}
-void CFWL_ComboBox::Initialize(const CFWL_WidgetProperties* pProperties) {
+void CFWL_ComboBox::Initialize() {
ASSERT(!m_pIface);
- if (pProperties)
- *m_pProperties = *pProperties;
-
std::unique_ptr<IFWL_ComboBox> pComboBox(new IFWL_ComboBox(
m_pApp, m_pProperties->MakeWidgetImpProperties(&m_comboBoxData)));
pComboBox->Initialize();
m_pIface = std::move(pComboBox);
- CFWL_Widget::Initialize(pProperties);
+ CFWL_Widget::Initialize();
}
IFWL_ComboBox* CFWL_ComboBox::GetWidget() {