| Index: xfa/fwl/core/ifwl_picturebox.cpp
|
| diff --git a/xfa/fwl/core/ifwl_picturebox.cpp b/xfa/fwl/core/ifwl_picturebox.cpp
|
| index 50bf2a40ea043cb7ff1fde09824ecece0b63136c..6ab792c985bfc5e4aacb6e463fc3102252da76b1 100644
|
| --- a/xfa/fwl/core/ifwl_picturebox.cpp
|
| +++ b/xfa/fwl/core/ifwl_picturebox.cpp
|
| @@ -19,8 +19,6 @@ IFWL_PictureBox::IFWL_PictureBox(const IFWL_App* app,
|
| m_rtClient.Reset();
|
| m_rtImage.Reset();
|
| m_matrix.SetIdentity();
|
| -
|
| - SetDelegate(pdfium::MakeUnique<CFWL_PictureBoxImpDelegate>(this));
|
| }
|
|
|
| IFWL_PictureBox::~IFWL_PictureBox() {}
|
| @@ -119,10 +117,7 @@ bool IFWL_PictureBox::VStyle(uint32_t dwStyle) {
|
| return false;
|
| }
|
|
|
| -CFWL_PictureBoxImpDelegate::CFWL_PictureBoxImpDelegate(IFWL_PictureBox* pOwner)
|
| - : m_pOwner(pOwner) {}
|
| -
|
| -void CFWL_PictureBoxImpDelegate::OnDrawWidget(CFX_Graphics* pGraphics,
|
| - const CFX_Matrix* pMatrix) {
|
| - m_pOwner->DrawWidget(pGraphics, pMatrix);
|
| +void IFWL_PictureBox::OnDrawWidget(CFX_Graphics* pGraphics,
|
| + const CFX_Matrix* pMatrix) {
|
| + DrawWidget(pGraphics, pMatrix);
|
| }
|
|
|