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

Unified Diff: ash/wm/ash_focus_rules.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: ash/wm/ash_focus_rules.cc
diff --git a/ash/wm/ash_focus_rules.cc b/ash/wm/ash_focus_rules.cc
index 929c3ace52fecfc1ba54a834ed27a4f4f4ca2fa2..e6e1c63f4c68545623cda4d1952d08a0d766b42c 100644
--- a/ash/wm/ash_focus_rules.cc
+++ b/ash/wm/ash_focus_rules.cc
@@ -80,7 +80,7 @@ aura::Window* AshFocusRules::GetNextActivatableWindow(
// Start from the container of the most-recently-used window. If the list of
// MRU windows is empty, then start from the container of the window that just
// lost focus |ignore|.
- ash::MruWindowTracker* mru = ash::Shell::GetInstance()->mru_window_tracker();
+ MruWindowTracker* mru = WmShell::Get()->mru_window_tracker();
std::vector<WmWindow*> windows = mru->BuildMruWindowList();
aura::Window* starting_window =
windows.empty() ? ignore : WmWindowAura::GetAuraWindow(windows[0]);
« no previous file with comments | « ash/system/chromeos/power/video_activity_notifier.cc ('k') | ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698