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

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

Issue 435863002: Fix some infobar problems. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated CL Created 6 years, 4 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: 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 61a3b294a72be3a9314e2608b2998163b34d639f..b911701fc06783c9cade6a12ad8005c33bd65490 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
@@ -1386,13 +1386,13 @@ void RecordAppLaunch(Profile* profile, GURL url) {
lastState_ = currentState_;
isAnimationRunning_ = NO;
+ // Update ourselves visually.
+ [self updateVisibility];
+
// Notify our delegate.
[delegate_ bookmarkBar:self
didChangeFromState:oldState
toState:currentState_];
Malcolm 2014/08/08 10:51:51 We should guarantee everything is done before noti
-
- // Update ourselves visually.
- [self updateVisibility];
}
// (Private)

Powered by Google App Engine
This is Rietveld 408576698