diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/views/tabs/dragged_tab_controller.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/tabs/dragged_tab_controller.cc b/chrome/browser/views/tabs/dragged_tab_controller.cc index 6f97a9c..03722ff 100644 --- a/chrome/browser/views/tabs/dragged_tab_controller.cc +++ b/chrome/browser/views/tabs/dragged_tab_controller.cc @@ -655,7 +655,8 @@ TabStrip* DraggedTabController::GetTabStripForPoint( return NULL; BrowserView* browser = BrowserView::GetBrowserViewForNativeWindow(local_window); - if (!browser) + // We don't allow drops on windows that don't have tabstrips. + if (!browser || !browser->IsBrowserTypeNormal()) return NULL; TabStrip* other_tabstrip = browser->tabstrip(); |