| 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 f4bc80a871cda38e9f04533a02623e23758bc340..956f6ae4b13225bd243a778db6f8d8bb3fa61c7c 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
| @@ -584,6 +584,7 @@ willPositionSheet:(NSWindow*)sheet
|
| // or view manipulation Cocoa calls. Stack added to suppressions_mac.txt.
|
| [contentView setAutoresizesSubviews:YES];
|
| [destWindow setContentView:contentView];
|
| + [self moveContentViewToBack:contentView];
|
|
|
| // Move the incognito badge if present.
|
| if ([self shouldShowAvatar]) {
|
| @@ -597,7 +598,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])
|
| - [[destWindow cr_windowView] addSubview:tabStripView];
|
| + [self insertTabStripView:tabStripView intoWindow:[self window]];
|
|
|
| [sourceWindow setWindowController:nil];
|
| [self setWindow:destWindow];
|
|
|