Index: ui/views/window/dialog_client_view.cc |
diff --git a/ui/views/window/dialog_client_view.cc b/ui/views/window/dialog_client_view.cc |
index fdc6c53328c1c6aee130fcb98a518054c0cec555..e326aabc751006ca12b507616fc4b12fb8e1fc0b 100644 |
--- a/ui/views/window/dialog_client_view.cc |
+++ b/ui/views/window/dialog_client_view.cc |
@@ -338,6 +338,15 @@ void DialogClientView::CreateFootnoteView() { |
AddChildView(footnote_view_); |
} |
+void DialogClientView::ChildPreferredSizeChanged(View* child) { |
+ if (child == footnote_view_ || child == extra_view_) |
+ Layout(); |
+} |
+ |
+void DialogClientView::ChildVisibilityChanged(View* child) { |
+ ChildPreferredSizeChanged(child); |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
// DialogClientView, private: |