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

Unified Diff: ash/aura/wm_root_window_controller_aura.cc

Issue 2041583004: mash: Move WmShelfAura ownership to RootWindowController and init it earlier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveshelftypes
Patch Set: . 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
« no previous file with comments | « no previous file | ash/aura/wm_shelf_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/wm_root_window_controller_aura.cc
diff --git a/ash/aura/wm_root_window_controller_aura.cc b/ash/aura/wm_root_window_controller_aura.cc
index b632635ff7f2bc02246da2405cd5226d685a52e1..8096034a39afc9b9186dde6778708a5333b1c76e 100644
--- a/ash/aura/wm_root_window_controller_aura.cc
+++ b/ash/aura/wm_root_window_controller_aura.cc
@@ -78,9 +78,7 @@ AlwaysOnTopController* WmRootWindowControllerAura::GetAlwaysOnTopController() {
}
WmShelf* WmRootWindowControllerAura::GetShelf() {
- return root_window_controller_->shelf_widget()
- ? root_window_controller_->shelf_widget()->shelf()->wm_shelf()
- : nullptr;
+ return root_window_controller_->wm_shelf_aura();
}
WmWindow* WmRootWindowControllerAura::GetWindow() {
« no previous file with comments | « no previous file | ash/aura/wm_shelf_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698