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

Unified Diff: ash/common/shelf/wm_shelf.cc

Issue 2688353005: Fix shelf alignment and auto-hide initialization. (Closed)
Patch Set: Cleanup Created 3 years, 10 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/common/shelf/wm_shelf.cc
diff --git a/ash/common/shelf/wm_shelf.cc b/ash/common/shelf/wm_shelf.cc
index 72de8ab0b6881a0695e5444e13adaa419ebd8b68..9b5056f7e74c953d3a4bdaa750df2d7769afe3c1 100644
--- a/ash/common/shelf/wm_shelf.cc
+++ b/ash/common/shelf/wm_shelf.cc
@@ -133,9 +133,6 @@ void WmShelf::CreateShelfView() {
DCHECK(!shelf_view_);
shelf_view_ = shelf_widget_->CreateShelfView();
shelf_locking_manager_.reset(new ShelfLockingManager(this));
- // When the shelf is created the alignment is unlocked. Chrome will update the
- // alignment later from preferences.
- alignment_ = SHELF_ALIGNMENT_BOTTOM;
WmShell::Get()->shelf_controller()->NotifyShelfCreated(this);
}

Powered by Google App Engine
This is Rietveld 408576698