| Index: chrome/browser/cocoa/browser_window_cocoa.mm
|
| diff --git a/chrome/browser/cocoa/browser_window_cocoa.mm b/chrome/browser/cocoa/browser_window_cocoa.mm
|
| index 33809adb83867e82f8fcd122dedfb4e41f9c6b87..f32e6b46e68af57e116c1152f5b09f96e727e32b 100644
|
| --- a/chrome/browser/cocoa/browser_window_cocoa.mm
|
| +++ b/chrome/browser/cocoa/browser_window_cocoa.mm
|
| @@ -102,17 +102,7 @@ void BrowserWindowCocoa::UpdateTitleBar() {
|
| NSString* newTitle =
|
| base::SysUTF16ToNSString(browser_->GetWindowTitleForCurrentTab());
|
|
|
| - // Only set the title if we're a popup window. If we call setTitle on a
|
| - // regular browser window, it will show up in the titlle bar and cover the
|
| - // tab strip.
|
| - if (browser_->type() == Browser::TYPE_POPUP)
|
| - [window_ setTitle:newTitle];
|
| -
|
| - // Window menu
|
| - [NSApp changeWindowsItem:window_ title:newTitle filename:NO];
|
| -
|
| - // Dock
|
| - [window_ setMiniwindowTitle:newTitle];
|
| + [window_ setTitle:newTitle];
|
| }
|
|
|
| void BrowserWindowCocoa::ShelfVisibilityChanged() {
|
|
|