Index: ash/system/tray/tray_utils.cc |
diff --git a/ash/system/tray/tray_utils.cc b/ash/system/tray/tray_utils.cc |
index 893697c1a489748fc9d030ce2bef8cd449a4e782..fd2c81c9febea752a6a9d0bc32f0f92c19f589a3 100644 |
--- a/ash/system/tray/tray_utils.cc |
+++ b/ash/system/tray/tray_utils.cc |
@@ -26,8 +26,7 @@ void SetupLabelForTray(views::Label* label) { |
void SetTrayImageItemBorder(views::View* tray_view, |
ShelfAlignment alignment) { |
- if (alignment == SHELF_ALIGNMENT_BOTTOM || |
- alignment == SHELF_ALIGNMENT_TOP) { |
+ if (alignment == SHELF_ALIGNMENT_BOTTOM) { |
tray_view->SetBorder(views::Border::CreateEmptyBorder( |
0, |
kTrayImageItemHorizontalPaddingBottomAlignment, |
@@ -44,8 +43,7 @@ void SetTrayImageItemBorder(views::View* tray_view, |
void SetTrayLabelItemBorder(TrayItemView* tray_view, |
ShelfAlignment alignment) { |
- if (alignment == SHELF_ALIGNMENT_BOTTOM || |
- alignment == SHELF_ALIGNMENT_TOP) { |
+ if (alignment == SHELF_ALIGNMENT_BOTTOM) { |
tray_view->SetBorder(views::Border::CreateEmptyBorder( |
0, |
kTrayLabelItemHorizontalPaddingBottomAlignment, |