Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate.cc

Issue 2115663002: Folds methods in WmShellCommon to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698