Index: chrome/browser/ui/ash/chrome_shell_delegate.cc |
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc |
index b606869c9c2a5a498dcae72a43c86f064692f593..81660f91d555c6eb8fe734c28a6cb38cd90eb75a 100644 |
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc |
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc |
@@ -85,9 +85,8 @@ void InitAfterFirstSessionStart() { |
// Restore focus after the user session is started. It's needed because some |
// windows can be opened in background while login UI is still active because |
// we currently restore browser windows before login UI is deleted. |
- ash::Shell* shell = ash::Shell::GetInstance(); |
aura::Window::Windows mru_list = ash::WmWindowAura::ToAuraWindows( |
- shell->mru_window_tracker()->BuildMruWindowList()); |
+ ash::WmShell::Get()->mru_window_tracker()->BuildMruWindowList()); |
if (!mru_list.empty()) |
mru_list.front()->Focus(); |