Chromium Code Reviews| Index: chrome/browser/ui/views/tabs/tab_drag_controller.cc |
| diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
| index 87b6ccff79c676afa757e0706c2b2402a5d14a88..5c1dd0780a7b4355b42f01873a52cc924afc8a89 100644 |
| --- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
| +++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
| @@ -915,12 +915,6 @@ void TabDragController::Attach(TabStrip* attached_tabstrip, |
| // drag isn't prematurely canceled. |
| attached_tabstrip_->GetWidget()->SetCapture(attached_tabstrip_); |
| attached_tabstrip_->OwnDragController(this); |
| - |
| - // Redirect all mouse events to the TabStrip so that the tab that originated |
| - // the drag can safely be deleted. |
| - static_cast<views::internal::RootView*>( |
| - attached_tabstrip_->GetWidget()->GetRootView())->SetMouseHandler( |
| - attached_tabstrip_); |
|
pkotwicz
2014/07/16 18:50:11
This call was added a prior date to attached_tabst
|
| } |
| void TabDragController::Detach(ReleaseCapture release_capture) { |