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 e604c7c47692ca25ace806a1355c3f0626e444db..8dc30c1d9f95ea4e7ea49b98a6fefe19a1d8642a 100644 |
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
@@ -388,7 +388,7 @@ void TabDragController::Drag(const gfx::Point& point_in_screen) { |
&drag_bounds); |
widget->SetVisibilityChangedAnimationsEnabled(true); |
} |
- RunMoveLoop(GetWindowOffset(point_in_screen)); |
+ RunMoveLoop(GetWindowOffset(start_point_in_screen_)); |
return; |
} |
} |
@@ -1020,7 +1020,7 @@ void TabDragController::DetachIntoNewBrowserAndRunMoveLoop( |
// All the tabs in a browser are being dragged but all the tabs weren't |
// initially being dragged. For this to happen the user would have to |
// start dragging a set of tabs, the other tabs close, then detach. |
- RunMoveLoop(GetWindowOffset(point_in_screen)); |
+ RunMoveLoop(GetWindowOffset(start_point_in_screen_)); |
return; |
} |