Index: chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc |
diff --git a/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc b/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc |
index 14e5c1223daeef25e0ba479c6932b38bb1cc6f1f..c36a38aa7ab050cc8a4b27bcffb148068040ccaa 100644 |
--- a/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc |
+++ b/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc |
@@ -5,9 +5,9 @@ |
#include "chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h" |
#include "ash/root_window_controller.h" |
+#include "ash/shelf/shelf.h" |
#include "ash/shelf/shelf_layout_manager.h" |
#include "ash/shelf/shelf_widget.h" |
-#include "ash/shelf/wm_shelf.h" |
#include "ash/shell.h" |
#include "ash/shell_port.h" |
#include "ash/wallpaper/wallpaper_delegate.h" |
@@ -231,7 +231,7 @@ void UserSwitchAnimatorChromeOS::TransitionUserShelf( |
new_account_id_.GetUserEmail()); |
// Hide the black rectangle on top of each shelf again. |
for (aura::Window* window : ash::Shell::GetAllRootWindows()) { |
- ash::ShelfWidget* shelf = ash::WmShelf::ForWindow(window)->shelf_widget(); |
+ ash::ShelfWidget* shelf = ash::Shelf::ForWindow(window)->shelf_widget(); |
shelf->HideShelfBehindBlackBar(false, duration_override); |
} |
// We kicked off the shelf animation above and the override can be |
@@ -263,7 +263,7 @@ void UserSwitchAnimatorChromeOS::TransitionUserShelf( |
// CPU usage and therefore effect jank, we should avoid hiding the shelf if |
// the start and end location are the same and cover the shelf instead with |
// a black rectangle on top. |
- ash::WmShelf* shelf = ash::WmShelf::ForWindow(window); |
+ ash::Shelf* shelf = ash::Shelf::ForWindow(window); |
if (GetScreenCover(window) != NO_USER_COVERS_SCREEN && |
(!chrome_launcher_controller || |
!chrome_launcher_controller->ShelfBoundsChangesProbablyWithUser( |