Chromium Code Reviews| Index: chrome/browser/app_controller_mac.mm |
| =================================================================== |
| --- chrome/browser/app_controller_mac.mm (revision 29135) |
| +++ chrome/browser/app_controller_mac.mm (working copy) |
| @@ -271,7 +271,11 @@ |
| // Called when the number of tabs changes in one of the browser windows. The |
| // object is the tab strip controller, but we don't currently care. |
| - (void)tabsChanged:(NSNotification*)notify { |
| - [self delayedFixCloseMenuItemKeyEquivalents]; |
| + // We don't need to do this on a delay, as in the method above, because the |
| + // window layering isn't changing. As a result, there's no chance that a |
| + // different window will sneak in as the key window and cause the problems |
| + // we hacked around above by clearing the key equivalents. |
|
Mark Mentovai
2009/10/16 19:33:20
Ever notice how everyone from Canada sounds like a
|
| + [self fixCloseMenuItemKeyEquivalents]; |
| } |
| // If the auto-update interval is not set, make it 5 hours. |