| Index: chrome/browser/views/tabs/dragged_tab_controller.cc
|
| diff --git a/chrome/browser/views/tabs/dragged_tab_controller.cc b/chrome/browser/views/tabs/dragged_tab_controller.cc
|
| index bb97cd662a69176ede368fbd9d7363d53e9d99d8..8f4f19bf9ed304a182e3f18b18eff055de628a1f 100644
|
| --- a/chrome/browser/views/tabs/dragged_tab_controller.cc
|
| +++ b/chrome/browser/views/tabs/dragged_tab_controller.cc
|
| @@ -883,7 +883,7 @@ void DraggedTabController::Detach() {
|
| attached_model->DetachTabContentsAt(index);
|
|
|
| // If we've removed the last Tab from the TabStrip, hide the frame now.
|
| - if (!attached_model->HasNonPhantomTabs())
|
| + if (attached_model->empty())
|
| HideFrame();
|
|
|
| // Set up the photo booth to start capturing the contents of the dragged
|
| @@ -1281,7 +1281,7 @@ void DraggedTabController::HideFrame() {
|
| void DraggedTabController::CleanUpHiddenFrame() {
|
| // If the model we started dragging from is now empty, we must ask the
|
| // delegate to close the frame.
|
| - if (!GetModel(source_tabstrip_)->HasNonPhantomTabs())
|
| + if (GetModel(source_tabstrip_)->empty())
|
| GetModel(source_tabstrip_)->delegate()->CloseFrameAfterDragSession();
|
| }
|
|
|
|
|