Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Unified Diff: xfa/fwl/lightwidget/cfwl_datetimepicker.cpp

Issue 2433133002: Remove IFWL_*::Create methods, use new (Closed)
Patch Set: Rebase to master Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fwl/lightwidget/cfwl_combobox.cpp ('k') | xfa/fwl/lightwidget/cfwl_edit.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/lightwidget/cfwl_datetimepicker.cpp
diff --git a/xfa/fwl/lightwidget/cfwl_datetimepicker.cpp b/xfa/fwl/lightwidget/cfwl_datetimepicker.cpp
index fccf8eac6323335c3515ca90224790496c7c3e6c..be595647500bed3ae88a1a040ba3275afc879318 100644
--- a/xfa/fwl/lightwidget/cfwl_datetimepicker.cpp
+++ b/xfa/fwl/lightwidget/cfwl_datetimepicker.cpp
@@ -27,10 +27,8 @@ FWL_Error CFWL_DateTimePicker::Initialize(
if (pProperties) {
*m_pProperties = *pProperties;
}
- std::unique_ptr<IFWL_DateTimePicker> pDateTimePicker(
- IFWL_DateTimePicker::Create(
- m_pProperties->MakeWidgetImpProperties(&m_DateTimePickerDP),
- nullptr));
+ std::unique_ptr<IFWL_DateTimePicker> pDateTimePicker(new IFWL_DateTimePicker(
+ m_pProperties->MakeWidgetImpProperties(&m_DateTimePickerDP)));
FWL_Error ret = pDateTimePicker->Initialize();
if (ret != FWL_Error::Succeeded) {
return ret;
« no previous file with comments | « xfa/fwl/lightwidget/cfwl_combobox.cpp ('k') | xfa/fwl/lightwidget/cfwl_edit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698