| Index: chrome/browser/ui/views/tabs/tab_strip.cc
|
| diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc
|
| index f37295b7ec75b5f5bfb30996d8eeb83c9fccd47d..0183c57893d9c0ed70590659cd7b96c36dc42dfd 100644
|
| --- a/chrome/browser/ui/views/tabs/tab_strip.cc
|
| +++ b/chrome/browser/ui/views/tabs/tab_strip.cc
|
| @@ -1148,16 +1148,11 @@ void TabStrip::MaybeStartDrag(
|
| move_behavior = TabDragController::MOVE_VISIBILE_TABS;
|
| }
|
|
|
| - views::Widget* widget = GetWidget();
|
| #if defined(OS_WIN)
|
| // It doesn't make sense to drag tabs out on Win8's single window Metro mode.
|
| if (win8::IsSingleWindowMetroMode())
|
| detach_behavior = TabDragController::NOT_DETACHABLE;
|
| #endif
|
| - // Gestures don't automatically do a capture. We don't allow multiple drags at
|
| - // the same time, so we explicitly capture.
|
| - if (event.type() == ui::ET_GESTURE_BEGIN)
|
| - widget->SetCapture(this);
|
| drag_controller_.reset(new TabDragController);
|
| drag_controller_->Init(
|
| this, tab, tabs, gfx::Point(x, y), event.x(), selection_model,
|
|
|