Index: chrome/browser/cocoa/tab_view.mm |
=================================================================== |
--- chrome/browser/cocoa/tab_view.mm (revision 45803) |
+++ chrome/browser/cocoa/tab_view.mm (working copy) |
@@ -412,7 +412,7 @@ |
draggedController_ = [sourceController_ detachTabToNewWindow:self]; |
dragWindow_ = [draggedController_ window]; |
[dragWindow_ setAlphaValue:0.0]; |
- if (![sourceController_ numberOfTabs]) { |
+ if (![sourceController_ hasLiveTabs]) { |
sourceController_ = draggedController_; |
sourceWindow_ = dragWindow_; |
} |