Index: views/controls/menu/menu_scroll_view_container.cc |
diff --git a/views/controls/menu/menu_scroll_view_container.cc b/views/controls/menu/menu_scroll_view_container.cc |
index cb9228430f00c9dcea76a4fb578cbc954c3f5ffa..532366c40736306fba834e309544cdd083601640 100644 |
--- a/views/controls/menu/menu_scroll_view_container.cc |
+++ b/views/controls/menu/menu_scroll_view_container.cc |
@@ -257,6 +257,7 @@ void MenuScrollViewContainer::DidChangeBounds(const gfx::Rect& previous, |
gfx::Size content_pref = scroll_view_->GetContents()->GetPreferredSize(); |
scroll_up_button_->SetVisible(content_pref.height() > height()); |
scroll_down_button_->SetVisible(content_pref.height() > height()); |
+ Layout(); |
} |
gfx::Size MenuScrollViewContainer::GetPreferredSize() { |