Index: ash/system/tray/tray_background_view.cc |
diff --git a/ash/system/tray/tray_background_view.cc b/ash/system/tray/tray_background_view.cc |
index f3f1ab3349a2987fdf0ce55e2d5f8515802170cf..6c77e7e3051424b6946c7ee72b1d7d00e2ff7167 100644 |
--- a/ash/system/tray/tray_background_view.cc |
+++ b/ash/system/tray/tray_background_view.cc |
@@ -478,11 +478,11 @@ void TrayBackgroundView::OnPaint(gfx::Canvas* canvas) { |
if (IsHorizontalAlignment(shelf_alignment_)) { |
const gfx::PointF point( |
base::i18n::IsRTL() ? 0 : (local_bounds.width() - kSeparatorWidth), |
- (GetShelfConstant(SHELF_SIZE) - kTrayItemSize) / 2); |
+ (kShelfSize - kTrayItemSize) / 2); |
const gfx::Vector2dF vector(0, kTrayItemSize); |
canvas->Draw1pxLine(point, point + vector, color); |
} else { |
- const gfx::PointF point((GetShelfConstant(SHELF_SIZE) - kTrayItemSize) / 2, |
+ const gfx::PointF point((kShelfSize - kTrayItemSize) / 2, |
local_bounds.height() - kSeparatorWidth); |
const gfx::Vector2dF vector(kTrayItemSize, 0); |
canvas->Draw1pxLine(point, point + vector, color); |