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

Unified Diff: ash/aura/shell_port_classic.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/aura/shell_port_classic.h ('k') | ash/drag_drop/drag_drop_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/shell_port_classic.cc
diff --git a/ash/aura/shell_port_classic.cc b/ash/aura/shell_port_classic.cc
index 0e977f51549af9273b2c31bbfd90726a4497195f..0c8a8fc3930fb63c77b597c6e818d1718542818b 100644
--- a/ash/aura/shell_port_classic.cc
+++ b/ash/aura/shell_port_classic.cc
@@ -78,15 +78,13 @@ Config ShellPortClassic::GetAshConfig() const {
return Config::CLASSIC;
}
-WmWindow* ShellPortClassic::GetPrimaryRootWindow() {
- return WmWindow::Get(
- Shell::Get()->window_tree_host_manager()->GetPrimaryRootWindow());
+aura::Window* ShellPortClassic::GetPrimaryRootWindow() {
+ return Shell::Get()->window_tree_host_manager()->GetPrimaryRootWindow();
}
-WmWindow* ShellPortClassic::GetRootWindowForDisplayId(int64_t display_id) {
- return WmWindow::Get(
- Shell::Get()->window_tree_host_manager()->GetRootWindowForDisplayId(
- display_id));
+aura::Window* ShellPortClassic::GetRootWindowForDisplayId(int64_t display_id) {
+ return Shell::Get()->window_tree_host_manager()->GetRootWindowForDisplayId(
+ display_id);
}
const display::ManagedDisplayInfo& ShellPortClassic::GetDisplayInfo(
« no previous file with comments | « ash/aura/shell_port_classic.h ('k') | ash/drag_drop/drag_drop_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698