| Index: ash/shelf/shelf_view_unittest.cc
|
| diff --git a/ash/shelf/shelf_view_unittest.cc b/ash/shelf/shelf_view_unittest.cc
|
| index 6b67adf87b0fbbde589cfc6dfb895f181282f2f4..85a049c8631d594dcba5d9243c8ef3c80eee966c 100644
|
| --- a/ash/shelf/shelf_view_unittest.cc
|
| +++ b/ash/shelf/shelf_view_unittest.cc
|
| @@ -314,7 +314,7 @@ class ShelfViewTest : public AshTestBase {
|
| shelf_view_ = ShelfTestAPI(shelf).shelf_view();
|
|
|
| // The bounds should be big enough for 4 buttons + overflow chevron.
|
| - shelf_view_->SetBounds(0, 0, 500, kShelfSize);
|
| + shelf_view_->SetBounds(0, 0, 500, GetShelfConstant(SHELF_SIZE));
|
|
|
| test_api_.reset(new ShelfViewTestAPI(shelf_view_));
|
| test_api_->SetAnimationDuration(1); // Speeds up animation for test.
|
| @@ -1585,7 +1585,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() - kShelfSize);
|
| + bounds.set_width(bounds.width() - GetShelfConstant(SHELF_SIZE));
|
| shelf_view_->SetBoundsRect(bounds);
|
| ASSERT_TRUE(test_api_->IsOverflowButtonVisible());
|
|
|
| @@ -1720,7 +1720,7 @@ TEST_F(ShelfViewTest, CheckDragInsertBoundsWithMultiMonitor) {
|
| ShelfTestAPI(secondary_shelf).shelf_view();
|
|
|
| // The bounds should be big enough for 4 buttons + overflow chevron.
|
| - shelf_view_for_secondary->SetBounds(0, 0, 500, kShelfSize);
|
| + shelf_view_for_secondary->SetBounds(0, 0, 500, GetShelfConstant(SHELF_SIZE));
|
|
|
| ShelfViewTestAPI test_api_for_secondary(shelf_view_for_secondary);
|
| // Speeds up animation for test.
|
|
|