| Index: ui/aura/gestures/gesture_recognizer_unittest.cc
|
| diff --git a/ui/aura/gestures/gesture_recognizer_unittest.cc b/ui/aura/gestures/gesture_recognizer_unittest.cc
|
| index d1550485058123026dc75a77a9732bded48919c6..b900f3de96c445495950db091827261834792d8e 100644
|
| --- a/ui/aura/gestures/gesture_recognizer_unittest.cc
|
| +++ b/ui/aura/gestures/gesture_recognizer_unittest.cc
|
| @@ -200,7 +200,7 @@ class GestureEventConsumeDelegate : public TestWindowDelegate {
|
| flags_ = gesture->flags();
|
| switch (gesture->type()) {
|
| case ui::ET_GESTURE_TAP:
|
| - tap_location_ = gesture->location();
|
| + tap_location_ = gfx::ToFlooredPoint(gesture->location());
|
| tap_count_ = gesture->details().tap_count();
|
| tap_ = true;
|
| break;
|
| @@ -215,11 +215,11 @@ class GestureEventConsumeDelegate : public TestWindowDelegate {
|
| break;
|
| case ui::ET_GESTURE_END:
|
| end_ = true;
|
| - gesture_end_location_ = gesture->location();
|
| + gesture_end_location_ = gfx::ToFlooredPoint(gesture->location());
|
| break;
|
| case ui::ET_GESTURE_SCROLL_BEGIN:
|
| scroll_begin_ = true;
|
| - scroll_begin_position_ = gesture->location();
|
| + scroll_begin_position_ = gfx::ToFlooredPoint(gesture->location());
|
| scroll_x_hint_ = gesture->details().scroll_x_hint();
|
| scroll_y_hint_ = gesture->details().scroll_y_hint();
|
| break;
|
|
|