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

Unified Diff: ash/shelf/shelf_locking_manager.cc

Issue 2889673002: chromeos: Refactor shelf to create ShelfView earlier in startup (Closed)
Patch Set: rebase 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
Index: ash/shelf/shelf_locking_manager.cc
diff --git a/ash/shelf/shelf_locking_manager.cc b/ash/shelf/shelf_locking_manager.cc
index 0a6a037ffa4d500007085b13131a3934b2cb48c9..cb221d4bb951ffa45d8c73b13eda4263dfbd8221 100644
--- a/ash/shelf/shelf_locking_manager.cc
+++ b/ash/shelf/shelf_locking_manager.cc
@@ -13,7 +13,7 @@ namespace ash {
ShelfLockingManager::ShelfLockingManager(WmShelf* shelf)
: shelf_(shelf),
- stored_alignment_(shelf->GetAlignment()),
+ stored_alignment_(SHELF_ALIGNMENT_BOTTOM_LOCKED),
scoped_session_observer_(this) {
DCHECK(shelf_);
ShellPort::Get()->AddLockStateObserver(this);

Powered by Google App Engine
This is Rietveld 408576698