| 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 c1c62f39084fbd2a9cd1c65d71c7a8da81ff5995..d90f5b6ad381f22e5d60c3325382e9f1f3434a52 100644
|
| --- a/ash/system/status_area_widget_delegate.cc
|
| +++ b/ash/system/status_area_widget_delegate.cc
|
| @@ -89,13 +89,6 @@ void StatusAreaWidgetDelegate::UpdateLayout() {
|
| views::ColumnSet* columns = layout->AddColumnSet(0);
|
| if (alignment_ == SHELF_ALIGNMENT_BOTTOM ||
|
| alignment_ == SHELF_ALIGNMENT_TOP) {
|
| - // Alternate shelf layout insets are all handled by tray_background_view.
|
| - if (!ash::switches::UseAlternateShelfLayout()) {
|
| - if (alignment_ == SHELF_ALIGNMENT_TOP)
|
| - layout->SetInsets(kStatusTrayOffsetFromScreenEdge, 0, 0, 0);
|
| - else
|
| - layout->SetInsets(0, 0, kStatusTrayOffsetFromScreenEdge, 0);
|
| - }
|
| bool is_first_visible_child = true;
|
| for (int c = 0; c < child_count(); ++c) {
|
| views::View* child = child_at(c);
|
| @@ -115,12 +108,6 @@ void StatusAreaWidgetDelegate::UpdateLayout() {
|
| layout->AddView(child);
|
| }
|
| } else {
|
| - if (!ash::switches::UseAlternateShelfLayout()) {
|
| - if (alignment_ == SHELF_ALIGNMENT_LEFT)
|
| - layout->SetInsets(0, kStatusTrayOffsetFromScreenEdge, 0, 0);
|
| - else
|
| - layout->SetInsets(0, 0, 0, kStatusTrayOffsetFromScreenEdge);
|
| - }
|
| columns->AddColumn(views::GridLayout::FILL, views::GridLayout::CENTER,
|
| 0, /* resize percent */
|
| views::GridLayout::USE_PREF, 0, 0);
|
|
|