| Index: ash/shelf/shelf_view_unittest.cc
|
| diff --git a/ash/shelf/shelf_view_unittest.cc b/ash/shelf/shelf_view_unittest.cc
|
| index e83387b7f3a7ed603628bc9bf2862affd962aa35..3b0c8da74dd68215e326a9fe1ded7fbf9917ce9b 100644
|
| --- a/ash/shelf/shelf_view_unittest.cc
|
| +++ b/ash/shelf/shelf_view_unittest.cc
|
| @@ -1358,12 +1358,10 @@ TEST_F(ShelfViewTest, ShelfItemStatusPlatformApp) {
|
| // Confirm that shelf item bounds are correctly updated on shelf changes.
|
| TEST_F(ShelfViewTest, ShelfItemBoundsCheck) {
|
| VerifyShelfItemBoundsAreValid();
|
| - shelf_view_->shelf()->shelf_layout_manager()->SetAutoHideBehavior(
|
| - SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS);
|
| + shelf_view_->shelf()->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_ALWAYS);
|
| test_api_->RunMessageLoopUntilAnimationsDone();
|
| VerifyShelfItemBoundsAreValid();
|
| - shelf_view_->shelf()->shelf_layout_manager()->SetAutoHideBehavior(
|
| - SHELF_AUTO_HIDE_BEHAVIOR_NEVER);
|
| + shelf_view_->shelf()->SetAutoHideBehavior(SHELF_AUTO_HIDE_BEHAVIOR_NEVER);
|
| test_api_->RunMessageLoopUntilAnimationsDone();
|
| VerifyShelfItemBoundsAreValid();
|
| }
|
|
|