Chromium Code Reviews| Index: xfa/fwl/core/ifwl_picturebox.cpp |
| diff --git a/xfa/fwl/core/ifwl_picturebox.cpp b/xfa/fwl/core/ifwl_picturebox.cpp |
| index 3cffa5297030322b0f7ea898640bfd8aae93a509..9a3fbf3067f867b1ed0483e527e9815ab6e14ed8 100644 |
| --- a/xfa/fwl/core/ifwl_picturebox.cpp |
| +++ b/xfa/fwl/core/ifwl_picturebox.cpp |
| @@ -35,8 +35,7 @@ void IFWL_PictureBox::GetWidgetRect(CFX_RectF& rect, bool bAutoSize) { |
| } |
| rect.Set(0, 0, 0, 0); |
| - if (!m_pProperties->m_pDataProvider) |
| - return; |
| + |
| IFWL_Widget::GetWidgetRect(rect, true); |
| } |