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

Unified Diff: ash/shelf/shelf_widget.cc

Issue 2807693002: Make LogoutButtonTray a regular View (Closed)
Patch Set: Rebased Created 3 years, 8 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_widget.cc
diff --git a/ash/shelf/shelf_widget.cc b/ash/shelf/shelf_widget.cc
index 741fef00d90ec5a438d34077cf50efc85ffceb47..0d30458882173edab9fa56a8f35025e8ccc8dc9d 100644
--- a/ash/shelf/shelf_widget.cc
+++ b/ash/shelf/shelf_widget.cc
@@ -223,8 +223,7 @@ bool ShelfWidget::IsShelfHiddenBehindBlackBar() const {
void ShelfWidget::OnShelfAlignmentChanged() {
shelf_view_->OnShelfAlignmentChanged();
- // TODO(jamescook): Status area should not cache alignment.
- status_area_widget_->SetShelfAlignment(wm_shelf_->GetAlignment());
+ status_area_widget_->UpdateAfterShelfAlignmentChange();
delegate_view_->SchedulePaint();
}

Powered by Google App Engine
This is Rietveld 408576698