Index: ui/views/layout/box_layout.cc |
diff --git a/ui/views/layout/box_layout.cc b/ui/views/layout/box_layout.cc |
index 011148597553ceac4d8da64bebbf9c75fb1e69b9..8cf97b6666273c34918bdb5c8172f26d9164757b 100644 |
--- a/ui/views/layout/box_layout.cc |
+++ b/ui/views/layout/box_layout.cc |
@@ -100,6 +100,10 @@ int BoxLayout::GetPreferredHeightForWidth(View* host, int width) { |
return GetPreferredSizeForChildWidth(host, child_width).height(); |
} |
+void BoxLayout::OnChildPreferredSizeChanged(View* host, View* child) { |
+ HostPreferredSizeShouldChange(host); |
+} |
+ |
gfx::Size BoxLayout::GetPreferredSizeForChildWidth(View* host, |
int child_area_width) { |
gfx::Rect child_area_bounds; |