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

Unified Diff: xfa/fwl/lightwidget/cfwl_picturebox.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_listbox.cpp ('k') | xfa/fwl/lightwidget/cfwl_pushbutton.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/lightwidget/cfwl_picturebox.cpp
diff --git a/xfa/fwl/lightwidget/cfwl_picturebox.cpp b/xfa/fwl/lightwidget/cfwl_picturebox.cpp
index e6328e72ff088ada08795be09c506806e4ba64df..d4b9f30d6e2c34b5dbff75c1bb648d9d3acc754b 100644
--- a/xfa/fwl/lightwidget/cfwl_picturebox.cpp
+++ b/xfa/fwl/lightwidget/cfwl_picturebox.cpp
@@ -23,8 +23,8 @@ FWL_Error CFWL_PictureBox::Initialize(
if (pProperties) {
*m_pProperties = *pProperties;
}
- std::unique_ptr<IFWL_PictureBox> pPictureBox(IFWL_PictureBox::Create(
- m_pProperties->MakeWidgetImpProperties(&m_PictureBoxDP), nullptr));
+ std::unique_ptr<IFWL_PictureBox> pPictureBox(new IFWL_PictureBox(
+ m_pProperties->MakeWidgetImpProperties(&m_PictureBoxDP)));
FWL_Error ret = pPictureBox->Initialize();
if (ret != FWL_Error::Succeeded) {
return ret;
« no previous file with comments | « xfa/fwl/lightwidget/cfwl_listbox.cpp ('k') | xfa/fwl/lightwidget/cfwl_pushbutton.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698