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 dc6c94dd2ebafb05fdfd2355a5e31b89b24a6556..cb9f7a1a57e2f4d0581ec87f11c4f8e0268da3a4 100644 |
--- a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm |
+++ b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm |
@@ -151,8 +151,9 @@ bool ProfileUpdateObserver::HasAvatarError() { |
NSWindowController* wc = |
[browser_->window()->GetNativeWindow() windowController]; |
if ([wc isKindOfClass:[BrowserWindowController class]]) { |
- [static_cast<BrowserWindowController*>(wc) lockBarVisibilityForOwner:self |
- withAnimation:NO]; |
+ [static_cast<BrowserWindowController*>(wc) |
+ lockToolbarVisibilityForOwner:self |
+ withAnimation:NO]; |
} |
// The new avatar bubble does not have an arrow, and it should be anchored |
@@ -227,8 +228,8 @@ bool ProfileUpdateObserver::HasAvatarError() { |
[browser_->window()->GetNativeWindow() windowController]; |
if ([wc isKindOfClass:[BrowserWindowController class]]) { |
[static_cast<BrowserWindowController*>(wc) |
- releaseBarVisibilityForOwner:self |
- withAnimation:YES]; |
+ releaseToolbarVisibilityForOwner:self |
+ withAnimation:YES]; |
} |
menuController_ = nil; |
} |