Index: ash/common/system/status_area_widget_delegate.cc |
diff --git a/ash/common/system/status_area_widget_delegate.cc b/ash/common/system/status_area_widget_delegate.cc |
index 834dbd72eaa1d6bdf3917613d525e8ead0333c13..d749273d18780a3cbacab8d04e3ee510ec2539f2 100644 |
--- a/ash/common/system/status_area_widget_delegate.cc |
+++ b/ash/common/system/status_area_widget_delegate.cc |
@@ -231,6 +231,10 @@ void StatusAreaWidgetDelegate::SetBorderOnChild(views::View* child, |
} |
child->SetBorder(views::Border::CreateEmptyBorder(top_edge, left_edge, |
bottom_edge, right_edge)); |
+ // Layout on |child| needs to be updated based on new border value before |
+ // displaying; otherwise |child| will be showing with old border size. |
+ // Fix for crbug.com/623438. |
+ child->Layout(); |
} |
} // namespace ash |