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

Unified Diff: ash/common/wm/mru_window_tracker.cc

Issue 2739553005: Moves maintaining root_window_for_new_windows_ to Shell (Closed)
Patch Set: cleanup Created 3 years, 9 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/common/wm/mru_window_tracker.cc
diff --git a/ash/common/wm/mru_window_tracker.cc b/ash/common/wm/mru_window_tracker.cc
index eb6a7953eab6d4f49c12e554c225e3c9927cbf96..82cfa531de4ab9362c2bc31ce9c7a76d63370b98 100644
--- a/ash/common/wm/mru_window_tracker.cc
+++ b/ash/common/wm/mru_window_tracker.cc
@@ -45,7 +45,7 @@ MruWindowTracker::WindowList BuildWindowListInternal(
const std::list<WmWindow*>* mru_windows,
const CanActivateWindowPredicate& should_include_window_predicate) {
MruWindowTracker::WindowList windows;
- WmWindow* active_root = WmShell::Get()->GetRootWindowForNewWindows();
+ WmWindow* active_root = Shell::GetInstance()->GetRootWindowForNewWindows();
for (WmWindow* window : WmShell::Get()->GetAllRootWindows()) {
if (window == active_root)
continue;

Powered by Google App Engine
This is Rietveld 408576698