Index: xfa/fwl/core/cfwl_picturebox.cpp |
diff --git a/xfa/fwl/core/cfwl_picturebox.cpp b/xfa/fwl/core/cfwl_picturebox.cpp |
index cb4cff35d1843322f95ac3e22d587397a967b163..3c95033aa0d0527de8550194bdac510f0aff9692 100644 |
--- a/xfa/fwl/core/cfwl_picturebox.cpp |
+++ b/xfa/fwl/core/cfwl_picturebox.cpp |
@@ -30,8 +30,7 @@ void CFWL_PictureBox::GetWidgetRect(CFX_RectF& rect, bool bAutoSize) { |
} |
rect.Set(0, 0, 0, 0); |
- |
- CFWL_Widget::GetWidgetRect(rect, true); |
+ InflateWidgetRect(rect); |
} |
void CFWL_PictureBox::Update() { |