| Index: chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc
|
| diff --git a/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc b/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc
|
| index 3ea87c7f5f01045883da941b9c99afc15cb66a1a..c729ccc3be89cbd5c5cac2c0aef80168d48fe01d 100644
|
| --- a/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc
|
| +++ b/chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc
|
| @@ -5,7 +5,6 @@
|
| #include <stddef.h>
|
|
|
| #include "ash/aura/wm_window_aura.h"
|
| -#include "ash/common/shelf/shelf.h"
|
| #include "ash/common/shelf/shelf_widget.h"
|
| #include "ash/common/shelf/wm_shelf.h"
|
| #include "ash/common/shell_window_ids.h"
|
| @@ -1021,7 +1020,7 @@ TEST_F(MultiUserWindowManagerChromeOSTest, AnimationSteps) {
|
| WmShelf* shelf = GetPrimaryShelf();
|
| EXPECT_NE(SHELF_AUTO_HIDE_ALWAYS_HIDDEN, shelf->auto_hide_behavior());
|
| EXPECT_EQ(1.0f, window(0)->layer()->GetTargetOpacity());
|
| - ShelfWidget* shelf_widget = shelf->GetShelfWidgetForTesting();
|
| + ShelfWidget* shelf_widget = shelf->shelf_widget();
|
| EXPECT_FALSE(shelf_widget->IsShelfHiddenBehindBlackBar());
|
|
|
| // Start the animation and see that the old window is becoming invisible, the
|
| @@ -1307,7 +1306,7 @@ TEST_F(MultiUserWindowManagerChromeOSTest, TestBlackBarCover) {
|
| multi_user_window_manager()->SetAnimationSpeedForTest(
|
| chrome::MultiUserWindowManagerChromeOS::ANIMATION_SPEED_FAST);
|
| EXPECT_NE(SHELF_AUTO_HIDE_ALWAYS_HIDDEN, shelf->auto_hide_behavior());
|
| - ShelfWidget* shelf_widget = shelf->GetShelfWidgetForTesting();
|
| + ShelfWidget* shelf_widget = shelf->shelf_widget();
|
| EXPECT_FALSE(shelf_widget->IsShelfHiddenBehindBlackBar());
|
|
|
| // First test that with no maximized window we show/hide the shelf.
|
|
|