Index: chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm |
diff --git a/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm b/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm |
index 5885b7f1a05cbe015adc717219f78f98bfa55c67..ce653b7d7ec794d39141c54d47bfe169d475a990 100644 |
--- a/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm |
+++ b/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm |
@@ -37,21 +37,19 @@ class Observer : public chrome::BrowserListObserver, |
BrowserList::AddObserver(this); |
} |
- virtual ~Observer() { |
- BrowserList::RemoveObserver(this); |
- } |
+ ~Observer() override { BrowserList::RemoveObserver(this); } |
// chrome::BrowserListObserver: |
- virtual void OnBrowserAdded(Browser* browser) override {} |
- virtual void OnBrowserRemoved(Browser* browser) override { |
+ void OnBrowserAdded(Browser* browser) override {} |
+ void OnBrowserRemoved(Browser* browser) override { |
[controller_ activeBrowserChangedTo:chrome::GetLastActiveBrowser()]; |
} |
- virtual void OnBrowserSetLastActive(Browser* browser) override { |
+ void OnBrowserSetLastActive(Browser* browser) override { |
[controller_ activeBrowserChangedTo:browser]; |
} |
// AvatarMenuObserver: |
- virtual void OnAvatarMenuChanged(AvatarMenu* menu) override { |
+ void OnAvatarMenuChanged(AvatarMenu* menu) override { |
[controller_ rebuildMenu]; |
} |