| Index: ash/autoclick/autoclick_unittest.cc
|
| diff --git a/ash/autoclick/autoclick_unittest.cc b/ash/autoclick/autoclick_unittest.cc
|
| index ff387aad9f0f914de4da40db0084e41abe517795..52eeb41019b3235f04c233754793a5ab90b2cefd 100644
|
| --- a/ash/autoclick/autoclick_unittest.cc
|
| +++ b/ash/autoclick/autoclick_unittest.cc
|
| @@ -33,12 +33,11 @@ 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(),
|
| - event->flags(),
|
| - event->changed_button_flags()));
|
| + events_.push_back(ui::MouseEvent(event->type(),
|
| + gfx::ToFlooredPoint(event->location()),
|
| + event->root_location(),
|
| + event->flags(),
|
| + event->changed_button_flags()));
|
| // Stop event propagation so we don't click on random stuff that
|
| // might break test assumptions.
|
| event->StopPropagation();
|
|
|