| Index: ash/autoclick/autoclick_controller.cc
|
| diff --git a/ash/autoclick/autoclick_controller.cc b/ash/autoclick/autoclick_controller.cc
|
| index 39d1b020d6db22ef54fe7fcee064579028687d40..07f81c2e6b0c0c10dc93bbf584928bc71a536942 100644
|
| --- a/ash/autoclick/autoclick_controller.cc
|
| +++ b/ash/autoclick/autoclick_controller.cc
|
| @@ -191,14 +191,14 @@ void AutoclickControllerImpl::DoAutoclick() {
|
| aura::WindowTreeHost* host = root_window->GetHost();
|
| host->ConvertPointToHost(&click_location);
|
|
|
| - ui::MouseEvent press_event(ui::ET_MOUSE_PRESSED, click_location,
|
| - click_location, ui::EventTimeForNow(),
|
| + ui::MouseEvent press_event(ui::ET_MOUSE_PRESSED, gfx::PointF(click_location),
|
| + gfx::PointF(click_location), ui::EventTimeForNow(),
|
| mouse_event_flags_ | ui::EF_LEFT_MOUSE_BUTTON,
|
| ui::EF_LEFT_MOUSE_BUTTON);
|
| - ui::MouseEvent release_event(ui::ET_MOUSE_RELEASED, click_location,
|
| - click_location, ui::EventTimeForNow(),
|
| - mouse_event_flags_ | ui::EF_LEFT_MOUSE_BUTTON,
|
| - ui::EF_LEFT_MOUSE_BUTTON);
|
| + ui::MouseEvent release_event(
|
| + ui::ET_MOUSE_RELEASED, gfx::PointF(click_location),
|
| + gfx::PointF(click_location), ui::EventTimeForNow(),
|
| + mouse_event_flags_ | ui::EF_LEFT_MOUSE_BUTTON, ui::EF_LEFT_MOUSE_BUTTON);
|
|
|
| ui::EventDispatchDetails details =
|
| host->event_processor()->OnEventFromSource(&press_event);
|
|
|