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

Unified Diff: ash/mus/top_level_window_factory.cc

Issue 2886253002: mash: remove more shell/shelf WmWindow usage. (Closed)
Patch Set: Sync and rebase. Created 3 years, 7 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/mus/top_level_window_factory.cc
diff --git a/ash/mus/top_level_window_factory.cc b/ash/mus/top_level_window_factory.cc
index 7fa50bdbf485eed84c23fccffd5e70ab658564d0..8149f63acc6f362078dd0c26fb06f5abef317f7f 100644
--- a/ash/mus/top_level_window_factory.cc
+++ b/ash/mus/top_level_window_factory.cc
@@ -72,8 +72,7 @@ RootWindowController* GetRootWindowControllerForNewTopLevelWindow(
}
}
}
- return RootWindowController::ForWindow(
- Shell::GetWmRootWindowForNewWindows()->aura_window());
+ return GetRootWindowController(Shell::GetRootWindowForNewWindows());
}
// Returns the bounds for the new window.

Powered by Google App Engine
This is Rietveld 408576698