| 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 3adb753c6162b1c65e3a2d338e5aaad29ff77849..2926c575eb6781775ca82b6f4263f7011f6291bc 100644
|
| --- a/content/browser/renderer_host/input/synthetic_touch_driver.cc
|
| +++ b/content/browser/renderer_host/input/synthetic_touch_driver.cc
|
| @@ -22,7 +22,8 @@ SyntheticTouchDriver::~SyntheticTouchDriver() {}
|
| void SyntheticTouchDriver::DispatchEvent(SyntheticGestureTarget* target,
|
| const base::TimeTicks& timestamp) {
|
| touch_event_.setTimeStampSeconds(ConvertTimestampToSeconds(timestamp));
|
| - target->DispatchInputEventToPlatform(touch_event_);
|
| + if (touch_event_.type() != blink::WebInputEvent::Undefined)
|
| + target->DispatchInputEventToPlatform(touch_event_);
|
| touch_event_.ResetPoints();
|
| }
|
|
|
|
|