| Index: ui/app_list/views/apps_grid_view_unittest.cc
|
| diff --git a/ui/app_list/views/apps_grid_view_unittest.cc b/ui/app_list/views/apps_grid_view_unittest.cc
|
| index c6fd60b50d2e303a10d854db12167a69d69d1738..a1a8a880e030e71ca041336ff26940bfd1301981 100644
|
| --- a/ui/app_list/views/apps_grid_view_unittest.cc
|
| +++ b/ui/app_list/views/apps_grid_view_unittest.cc
|
| @@ -427,9 +427,7 @@ TEST_F(AppsGridViewTest, MouseDragItemReorder) {
|
|
|
| gfx::Point from = GetItemTileRectAt(0, 1).CenterPoint();
|
| int reorder_offset = (GetItemTileRectAt(0, 1).CenterPoint() -
|
| - GetItemTileRectAt(0, 0).CenterPoint()).Length() -
|
| - kReorderDroppingCircleRadius - kGridIconDimension / 2 +
|
| - 5;
|
| + GetItemTileRectAt(0, 0).origin()).Length();
|
| gfx::Point to = gfx::Point(from.x() - reorder_offset, from.y());
|
|
|
| // Dragging item_1 closing to item_0 should leads to re-ordering these two
|
|
|