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

Unified Diff: ash/mus/top_level_window_factory.cc

Issue 2886253002: mash: remove more shell/shelf WmWindow usage. (Closed)
Patch Set: Fix WmShelf::ForWindow. 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
« no previous file with comments | « ash/mus/bridge/shell_port_mash.cc ('k') | ash/mus/window_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « ash/mus/bridge/shell_port_mash.cc ('k') | ash/mus/window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698