summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.mm
index 841c46c..572445d 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.mm
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.mm
@@ -128,6 +128,7 @@ static BOOL PointIsInsideView(NSPoint screenPoint, NSView* view) {
tabWasDragged_ = NO;
} else {
[targetController_ removePlaceholder];
+ [[sourceController_ window] makeMainWindow];
if ([sourceController_ numberOfTabs] < 2) {
// Revert to a single-tab window.
targetController_ = nil;