diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-31 09:44:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-31 09:44:45 -0700 |
commit | 96c7b33510c5d48ef5707326de88b35dcd2e4b45 (patch) | |
tree | 197df79ed8b51d3b7778faa570f20d82e5bf8fda /xfa/fwl/core/cfwl_datetimepicker.cpp | |
parent | fea997eb29e08a85038b5fc3b14bcaa35da369e4 (diff) | |
download | pdfium-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/fwl/core/cfwl_datetimepicker.cpp')
-rw-r--r-- | xfa/fwl/core/cfwl_datetimepicker.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xfa/fwl/core/cfwl_datetimepicker.cpp b/xfa/fwl/core/cfwl_datetimepicker.cpp index ebfcee62ba..8a0e8eba35 100644 --- a/xfa/fwl/core/cfwl_datetimepicker.cpp +++ b/xfa/fwl/core/cfwl_datetimepicker.cpp @@ -17,18 +17,15 @@ CFWL_DateTimePicker::CFWL_DateTimePicker(const IFWL_App* app) CFWL_DateTimePicker::~CFWL_DateTimePicker() {} -void CFWL_DateTimePicker::Initialize(const CFWL_WidgetProperties* pProperties) { +void CFWL_DateTimePicker::Initialize() { ASSERT(!m_pIface); - if (pProperties) - *m_pProperties = *pProperties; - std::unique_ptr<IFWL_DateTimePicker> pDateTimePicker(new IFWL_DateTimePicker( m_pApp, m_pProperties->MakeWidgetImpProperties(&m_DateTimePickerDP))); pDateTimePicker->Initialize(); m_pIface = std::move(pDateTimePicker); - CFWL_Widget::Initialize(pProperties); + CFWL_Widget::Initialize(); } IFWL_DateTimePicker* CFWL_DateTimePicker::GetWidget() { |