| Index: ash/shelf/shelf_view.cc
|
| diff --git a/ash/shelf/shelf_view.cc b/ash/shelf/shelf_view.cc
|
| index 9f3fe0a05165812de2521df3fe5ff67c16a4a677..081ef620c2d60d07437f8bc131abaa106aff3563 100644
|
| --- a/ash/shelf/shelf_view.cc
|
| +++ b/ash/shelf/shelf_view.cc
|
| @@ -623,8 +623,8 @@ bool ShelfView::StartDrag(const std::string& app_id,
|
| gfx::Point point_in_root = location_in_screen_coordinates;
|
| ::wm::ConvertPointFromScreen(
|
| ash::wm::GetRootWindowAt(location_in_screen_coordinates), &point_in_root);
|
| - ui::MouseEvent event(ui::ET_MOUSE_PRESSED, pt, point_in_root,
|
| - ui::EventTimeForNow(), 0, 0);
|
| + ui::MouseEvent event(ui::ET_MOUSE_PRESSED, gfx::PointF(pt),
|
| + gfx::PointF(point_in_root), ui::EventTimeForNow(), 0, 0);
|
| PointerPressedOnButton(drag_and_drop_view,
|
| ShelfButtonHost::DRAG_AND_DROP,
|
| event);
|
| @@ -646,8 +646,8 @@ bool ShelfView::Drag(const gfx::Point& location_in_screen_coordinates) {
|
| gfx::Point point_in_root = location_in_screen_coordinates;
|
| ::wm::ConvertPointFromScreen(
|
| ash::wm::GetRootWindowAt(location_in_screen_coordinates), &point_in_root);
|
| - ui::MouseEvent event(ui::ET_MOUSE_DRAGGED, pt, point_in_root,
|
| - ui::EventTimeForNow(), 0, 0);
|
| + ui::MouseEvent event(ui::ET_MOUSE_DRAGGED, gfx::PointF(pt),
|
| + gfx::PointF(point_in_root), ui::EventTimeForNow(), 0, 0);
|
| PointerDraggedOnButton(drag_and_drop_view,
|
| ShelfButtonHost::DRAG_AND_DROP,
|
| event);
|
|
|