| Index: content/browser/renderer_host/input/synthetic_touch_driver.cc
|
| diff --git a/content/browser/renderer_host/input/synthetic_touch_driver.cc b/content/browser/renderer_host/input/synthetic_touch_driver.cc
|
| index 19b94cb150c52ea1a86a6e3c1aeabd9c6fd86e19..3adb753c6162b1c65e3a2d338e5aaad29ff77849 100644
|
| --- a/content/browser/renderer_host/input/synthetic_touch_driver.cc
|
| +++ b/content/browser/renderer_host/input/synthetic_touch_driver.cc
|
| @@ -21,9 +21,8 @@ SyntheticTouchDriver::~SyntheticTouchDriver() {}
|
|
|
| void SyntheticTouchDriver::DispatchEvent(SyntheticGestureTarget* target,
|
| const base::TimeTicks& timestamp) {
|
| - touch_event_.timeStampSeconds = ConvertTimestampToSeconds(timestamp);
|
| - if (touch_event_.type != blink::WebInputEvent::Undefined)
|
| - target->DispatchInputEventToPlatform(touch_event_);
|
| + touch_event_.setTimeStampSeconds(ConvertTimestampToSeconds(timestamp));
|
| + target->DispatchInputEventToPlatform(touch_event_);
|
| touch_event_.ResetPoints();
|
| }
|
|
|
|
|