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

Unified Diff: ash/shelf/shelf_view.cc

Issue 1967263002: Launcher icon is misaligned when shelf position is changed to Left/Right (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« 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/shelf/shelf_view.cc
diff --git a/ash/shelf/shelf_view.cc b/ash/shelf/shelf_view.cc
index e7fe7638b8348fc3d425350e65be764507f8bceb..8c5841486ed989bd8a5dcb60778d9b8f1e56be59 100644
--- a/ash/shelf/shelf_view.cc
+++ b/ash/shelf/shelf_view.cc
@@ -436,6 +436,10 @@ void ShelfView::OnShelfAlignmentChanged() {
tooltip_.Close();
if (overflow_bubble_)
overflow_bubble_->Hide();
+ // For crbug.com/587931, because AppListButton layout logic is in OnPaint.
+ views::View* app_list_button = GetAppListButtonView();
+ if (app_list_button)
+ app_list_button->SchedulePaint();
}
void ShelfView::SchedulePaintForAllButtons() {
« 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