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

Unified Diff: ash/mus/root_window_controller.cc

Issue 2304443002: ash: Move ShelfWidget ownership to WmShelf and refactor access to it (Closed)
Patch Set: review comments Created 4 years, 4 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/wm_shelf_mus.cc ('k') | ash/root_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/root_window_controller.cc
diff --git a/ash/mus/root_window_controller.cc b/ash/mus/root_window_controller.cc
index 46ceb10a0b9cc54d1e93b887010c34d172145376..f9584af0e17b02428c77c52f56eab04970270d7f 100644
--- a/ash/mus/root_window_controller.cc
+++ b/ash/mus/root_window_controller.cc
@@ -170,7 +170,7 @@ void RootWindowController::CreateLayoutManagers() {
new ScreenlockLayout(lock_screen_container->mus_window()));
// Creating the shelf also creates the status area and both layout managers.
- wm_shelf_.reset(new WmShelfMus(wm_root_window_controller_.get()));
+ wm_shelf_.reset(new WmShelfMus(wm_root_window_controller_->GetWindow()));
WmWindowMus* default_container =
GetWindowByShellWindowId(kShellWindowId_DefaultContainer);
« no previous file with comments | « ash/mus/bridge/wm_shelf_mus.cc ('k') | ash/root_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698