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..0071cc2af89a47e328eda3520d628c37c81d38a0 100644 |
--- a/ash/shelf/shelf_view_unittest.cc |
+++ b/ash/shelf/shelf_view_unittest.cc |
@@ -18,7 +18,6 @@ |
#include "ash/shelf/shelf_constants.h" |
#include "ash/shelf/shelf_icon_observer.h" |
#include "ash/shelf/shelf_item_delegate_manager.h" |
-#include "ash/shelf/shelf_layout_manager.h" |
#include "ash/shelf/shelf_model.h" |
#include "ash/shelf/shelf_tooltip_manager.h" |
#include "ash/shelf/shelf_widget.h" |
@@ -1358,12 +1357,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(); |
} |