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