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 9a969403b3db218449e96f7fbe51e1669f6250b4..c1feef349f51ea4311de332160d42655ab1ecbd7 100644 |
--- a/ash/system/status_area_widget_delegate.cc |
+++ b/ash/system/status_area_widget_delegate.cc |
@@ -175,7 +175,7 @@ void StatusAreaWidgetDelegate::SetBorderOnChild(views::View* child, |
bool extend_border_to_edge) { |
// Tray views are laid out right-to-left or bottom-to-top. |
const bool horizontal_alignment = IsHorizontalAlignment(alignment_); |
- const int padding = (GetShelfConstant(SHELF_SIZE) - kTrayItemSize) / 2; |
+ const int padding = (kShelfSize - kTrayItemSize) / 2; |
const int top_edge = horizontal_alignment ? padding : 0; |
const int left_edge = horizontal_alignment ? 0 : padding; |