| Index: chrome/browser/ui/cocoa/browser_window_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| index 873b1f5967a0a807b7656818e0c007c137a7b779..4d5be436e2a49fdb71ee91ae72c40f31d79fdb7e 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_controller.mm
|
| @@ -1007,9 +1007,8 @@ enum {
|
| enable = browser_->command_updater()->IsCommandEnabled(tag);
|
| switch (tag) {
|
| case IDC_CLOSE_TAB:
|
| - // Disable "close tab" if we're not the key window or if there's only
|
| - // one tab.
|
| - enable &= [self numberOfTabs] > 1 && [[self window] isKeyWindow];
|
| + // Disable "close tab" if we're not the key window.
|
| + enable &= [[self window] isKeyWindow];
|
| break;
|
| case IDC_FULLSCREEN: {
|
| enable &= [self supportsFullscreen];
|
|
|