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

Unified Diff: ash/shelf/shelf.cc

Issue 2166043003: mash: Migrate ShelfLockingManager to ash/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move ShelfLockingManager test access to Shelf. Created 4 years, 5 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/shelf/shelf.cc
diff --git a/ash/shelf/shelf.cc b/ash/shelf/shelf.cc
index 0392685c2a687b82e156bd82b0ca67f246ee5f00..5e0992a0b9dc7586b0c894900296014fb1124cd4 100644
--- a/ash/shelf/shelf.cc
+++ b/ash/shelf/shelf.cc
@@ -47,7 +47,7 @@ Shelf::Shelf(ShelfModel* shelf_model,
wm_shelf_(wm_shelf),
shelf_widget_(shelf_widget),
shelf_view_(new ShelfView(shelf_model, delegate_, wm_shelf, this)),
- shelf_locking_manager_(this) {
+ shelf_locking_manager_(wm_shelf) {
DCHECK(wm_shelf_);
shelf_view_->Init();
shelf_widget_->GetContentsView()->AddChildView(shelf_view_);
« ash/common/wm_shell.h ('K') | « ash/shelf/shelf.h ('k') | ash/shelf/shelf_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698