Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc |
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc |
index 7eaebc3a2c137bd3530c78be35a8492b022a7417..2e995c809f8aca0c33af2e0ea40c276ea886078c 100644 |
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc |
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc |
@@ -1359,7 +1359,7 @@ void ChromeLauncherController::OnDisplayConfigurationChanged() { |
// Because it might be called by some operations, like crbug.com/627040 |
// rotating screen. |
ash::WmShelf* shelf = |
- ash::WmShelf::ForWindow(ash::ShellPort::Get()->GetPrimaryRootWindow()); |
+ ash::WmShelf::ForWindow(ash::Shell::GetPrimaryRootWindow()); |
if (shelf->alignment() != ash::SHELF_ALIGNMENT_BOTTOM_LOCKED) |
SetShelfBehaviorsFromPrefs(); |
} |