Chromium Code Reviews| Index: content/shell/test_runner/event_sender.cc |
| diff --git a/content/shell/test_runner/event_sender.cc b/content/shell/test_runner/event_sender.cc |
| index 02ece2fb7ec769e0b7677631844de2ee87fdb573..8402ed23099581f20da28f41e35a05ea52fc137c 100644 |
| --- a/content/shell/test_runner/event_sender.cc |
| +++ b/content/shell/test_runner/event_sender.cc |
| @@ -2525,6 +2525,8 @@ void EventSender::GestureEvent(WebInputEvent::Type type, gin::Arguments* args) { |
| } |
| event.unique_touch_event_id = GetUniqueTouchEventId(args); |
| + if (!getPointerType(args, false, event.primary_pointer_type)) |
|
chongz
2017/06/19 19:46:04
dtapuska@ Are you ok with this style or do you wan
dtapuska
2017/06/23 17:11:11
this style is fine.
dtapuska
2017/06/23 17:14:37
Well really whomever added getPointerType should h
chongz
2017/06/23 17:39:13
Sure I will change it to |GetPointerType| in next
chongz
2017/06/27 20:13:12
Done. Changed to |GetPointerType|.
|
| + return; |
| event.global_x = event.x; |
| event.global_y = event.y; |