| Index: chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc
|
| diff --git a/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc b/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc
|
| index 5ba1d37d50fd5ac32d4d30918c3073fdb58def0c..b8f6718e757fb152c1a2531ae0ee382ef266d7fc 100644
|
| --- a/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc
|
| +++ b/chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc
|
| @@ -418,7 +418,7 @@ void DraggedTabControllerGtk::Detach() {
|
| }
|
|
|
| // If we've removed the last tab from the tabstrip, hide the frame now.
|
| - if (!attached_model->HasNonPhantomTabs())
|
| + if (attached_model->empty())
|
| HideWindow();
|
|
|
| // Update the dragged tab. This NULL check is necessary apparently in some
|
| @@ -726,7 +726,7 @@ void DraggedTabControllerGtk::ShowWindow() {
|
| void DraggedTabControllerGtk::CleanUpHiddenFrame() {
|
| // If the model we started dragging from is now empty, we must ask the
|
| // delegate to close the frame.
|
| - if (!source_tabstrip_->model()->HasNonPhantomTabs())
|
| + if (source_tabstrip_->model()->empty())
|
| source_tabstrip_->model()->delegate()->CloseFrameAfterDragSession();
|
| }
|
|
|
|
|