Index: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
index 6ad6d414e3ecc837d23545ed04039e4d2b74e59a..06927ea4b3fc3625349f90c0eb27956391ece81e 100644 |
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
@@ -844,20 +844,13 @@ private: |
BrowserWindowController* controller = |
(BrowserWindowController*)[[tabStripView_ window] windowController]; |
- // Account for the widths of the new tab button, the avatar, and the |
- // fullscreen button if any/all are present. |
+ // Account for the widths of the new tab button or the avatar, if any/all |
+ // are present. |
availableSpace -= NSWidth([newTabButton_ frame]) + kNewTabButtonOffset; |
if ([controller respondsToSelector:@selector(shouldShowAvatar)] && |
[controller shouldShowAvatar]) { |
availableSpace -= kAvatarTabStripShrink; |
} |
- if ([[tabStripView_ window] |
- respondsToSelector:@selector(toggleFullScreen:)]) { |
- NSButton* fullscreenButton = [[tabStripView_ window] |
- standardWindowButton:NSWindowFullScreenButton]; |
- if (fullscreenButton) |
- availableSpace -= [fullscreenButton frame].size.width; |
- } |
} |
availableSpace -= [self indentForControls]; |
} |