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

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

Issue 2757453002: [Merge to M58] cros: Fix shelf overlaps bottom of maximized window in guest session (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_controller.cc
diff --git a/ash/common/shelf/shelf_controller.cc b/ash/common/shelf/shelf_controller.cc
index 5e5fc6e1dce2e23404cab8a1158b620b66ae2b2e..f9a7a984cc1578aee661b353e10386a242793a8b 100644
--- a/ash/common/shelf/shelf_controller.cc
+++ b/ash/common/shelf/shelf_controller.cc
@@ -163,9 +163,6 @@ void ShelfController::AddObserver(
void ShelfController::SetAlignment(ShelfAlignment alignment,
int64_t display_id) {
- if (!ash::WmShelf::CanChangeShelfAlignment())
- return;
-
WmShelf* shelf = GetShelfForDisplay(display_id);
// TODO(jamescook): The initialization check should not be necessary, but
// otherwise this wrongly tries to set the alignment on a secondary display
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698