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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm

Issue 184273010: Fix artifacts on the Apps button with CoreAnimation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback Created 6 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: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
index 26e594d0858d8f4a7da6057f15070bb2ff6aa7ff..1de186fc6c2eeac4e0f4b0c3dcbc49aa31b08849 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
@@ -484,6 +484,10 @@ void RecordAppLaunch(Profile* profile, GURL url) {
if ([self isAnimationRunning]) {
for (NSButton* button in buttons_.get())
[button setNeedsDisplay:YES];
+ // Update the apps and other buttons explicitly, since they are not in the
+ // buttons_ array.
+ [appsPageShortcutButton_ setNeedsDisplay:YES];
+ [otherBookmarksButton_ setNeedsDisplay:YES];
}
}
« 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