Index: chrome/browser/ui/cocoa/browser_window_controller_private.mm |
diff --git a/chrome/browser/ui/cocoa/browser_window_controller_private.mm b/chrome/browser/ui/cocoa/browser_window_controller_private.mm |
index 1ed775b94c712b877308ada24d4dcebdcec701d6..042f5b3f2d27efe429002c8beda7f6f8de2bb480 100644 |
--- a/chrome/browser/ui/cocoa/browser_window_controller_private.mm |
+++ b/chrome/browser/ui/cocoa/browser_window_controller_private.mm |
@@ -377,7 +377,7 @@ willPositionSheet:(NSWindow*)sheet |
// Add the tab strip after setting the content view and moving the incognito |
// badge (if any), so that the tab strip will be on top (in the z-order). |
if ([self hasTabStrip]) |
- [self insertTabStripView:tabStripView intoWindow:destWindow]; |
+ [[destWindow contentView] addSubview:tabStripView]; |
[sourceWindow setWindowController:nil]; |
[self setWindow:destWindow]; |