Index: ash/frame/custom_frame_view_ash.cc |
diff --git a/ash/frame/custom_frame_view_ash.cc b/ash/frame/custom_frame_view_ash.cc |
index 39d756651f4e788bedcdc02397d25c93c17feb90..8be9606d8e3101a186c54cbf2defcb67b7da0396 100644 |
--- a/ash/frame/custom_frame_view_ash.cc |
+++ b/ash/frame/custom_frame_view_ash.cc |
@@ -227,6 +227,9 @@ void CustomFrameViewAsh::HeaderView::SchedulePaintForTitle() { |
void CustomFrameViewAsh::HeaderView::ResetWindowControls() { |
caption_button_container_->ResetWindowControls(); |
+ caption_button_container_->UpdateSizeButtonVisibility(); |
+ |
+ Layout(); |
} |
int CustomFrameViewAsh::HeaderView::GetPreferredOnScreenHeight() const { |