Chromium Code Reviews| Index: ash/system/status_area_widget_delegate.cc |
| diff --git a/ash/system/status_area_widget_delegate.cc b/ash/system/status_area_widget_delegate.cc |
| index 08c580e4254b32802b701bbd0d9d408edcfaf97d..e12a2187a0e9303acd2904fb64bb30027410a50f 100644 |
| --- a/ash/system/status_area_widget_delegate.cc |
| +++ b/ash/system/status_area_widget_delegate.cc |
| @@ -226,6 +226,8 @@ void StatusAreaWidgetDelegate::SetBorderOnChild(views::View* child, |
| } |
| child->SetBorder(views::Border::CreateEmptyBorder(top_edge, left_edge, |
| bottom_edge, right_edge)); |
| + // Force layout to update after change border around |child|. |
|
James Cook
2016/06/29 22:20:35
nit: I would explain in a little more detail *why*
|
| + child->InvalidateLayout(); |
| } |
| } // namespace ash |