Index: ash/shelf/shelf_view_unittest.cc |
diff --git a/ash/shelf/shelf_view_unittest.cc b/ash/shelf/shelf_view_unittest.cc |
index c8ed571bafe48375a78acc29a8e8f2b400bbc1da..44ae1a01febf97dd515250e09847a8e54d8c0aa8 100644 |
--- a/ash/shelf/shelf_view_unittest.cc |
+++ b/ash/shelf/shelf_view_unittest.cc |
@@ -307,7 +307,7 @@ class ShelfViewTest : public AshTestBase { |
WebNotificationTray::DisableAnimationsForTest(true); |
// The bounds should be big enough for 4 buttons + overflow chevron. |
- shelf_view_->SetBounds(0, 0, 500, GetShelfConstant(SHELF_SIZE)); |
+ shelf_view_->SetBounds(0, 0, 500, kShelfSize); |
test_api_.reset(new ShelfViewTestAPI(shelf_view_)); |
test_api_->SetAnimationDuration(1); // Speeds up animation for test. |
@@ -1534,7 +1534,7 @@ TEST_F(ShelfViewTest, ResizeDuringOverflowAddAnimation) { |
// Resize shelf view with that animation running and stay overflown. |
gfx::Rect bounds = shelf_view_->bounds(); |
- bounds.set_width(bounds.width() - GetShelfConstant(SHELF_SIZE)); |
+ bounds.set_width(bounds.width() - kShelfSize); |
shelf_view_->SetBoundsRect(bounds); |
ASSERT_TRUE(test_api_->IsOverflowButtonVisible()); |
@@ -1662,7 +1662,7 @@ TEST_F(ShelfViewTest, CheckDragInsertBoundsWithMultiMonitor) { |
secondary_shelf->GetShelfViewForTesting(); |
// The bounds should be big enough for 4 buttons + overflow chevron. |
- shelf_view_for_secondary->SetBounds(0, 0, 500, GetShelfConstant(SHELF_SIZE)); |
+ shelf_view_for_secondary->SetBounds(0, 0, 500, kShelfSize); |
ShelfViewTestAPI test_api_for_secondary(shelf_view_for_secondary); |
// Speeds up animation for test. |