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

Unified Diff: chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm

Issue 2256993002: [Mac] Reworked FullscreenToolbarController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for erikchen Created 4 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
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
index dfa48fc677ce226e1127a7bcccc48a6a8d327e6a..dc6c94dd2ebafb05fdfd2355a5e31b89b24a6556 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
@@ -151,8 +151,8 @@ bool ProfileUpdateObserver::HasAvatarError() {
NSWindowController* wc =
[browser_->window()->GetNativeWindow() windowController];
if ([wc isKindOfClass:[BrowserWindowController class]]) {
- [static_cast<BrowserWindowController*>(wc)
- lockBarVisibilityForOwner:self withAnimation:NO delay:NO];
+ [static_cast<BrowserWindowController*>(wc) lockBarVisibilityForOwner:self
+ withAnimation:NO];
}
// The new avatar bubble does not have an arrow, and it should be anchored
@@ -227,7 +227,8 @@ bool ProfileUpdateObserver::HasAvatarError() {
[browser_->window()->GetNativeWindow() windowController];
if ([wc isKindOfClass:[BrowserWindowController class]]) {
[static_cast<BrowserWindowController*>(wc)
- releaseBarVisibilityForOwner:self withAnimation:YES delay:NO];
+ releaseBarVisibilityForOwner:self
+ withAnimation:YES];
}
menuController_ = nil;
}
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698