| Index: ash/autoclick/autoclick_unittest.cc
|
| diff --git a/ash/autoclick/autoclick_unittest.cc b/ash/autoclick/autoclick_unittest.cc
|
| index 262d826fac89ef3bf06db7e2e4e4e4fd73aeb805..3ffcd07789f891e27a0c2a625d1ea24a0e7d679f 100644
|
| --- a/ash/autoclick/autoclick_unittest.cc
|
| +++ b/ash/autoclick/autoclick_unittest.cc
|
| @@ -34,10 +34,10 @@ class MouseEventCapturer : public ui::EventHandler {
|
| ui::EventType type = event->type();
|
| if (type == ui::ET_MOUSE_MOVED || type == ui::ET_MOUSE_PRESSED ||
|
| type == ui::ET_MOUSE_RELEASED) {
|
| - events_.push_back(ui::MouseEvent(event->type(), event->location(),
|
| - event->root_location(),
|
| - ui::EventTimeForNow(), event->flags(),
|
| - event->changed_button_flags()));
|
| + events_.push_back(ui::MouseEvent(
|
| + event->type(), event->location(), event->root_location(),
|
| + ui::EventTimeForNow(), event->flags(), event->changed_button_flags(),
|
| + ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE)));
|
| // Stop event propagation so we don't click on random stuff that
|
| // might break test assumptions.
|
| event->StopPropagation();
|
|
|