Index: content/common/input/synthetic_web_input_event_builders.cc |
diff --git a/content/common/input/synthetic_web_input_event_builders.cc b/content/common/input/synthetic_web_input_event_builders.cc |
index 2fcca34afb73bc9878c14511225ca545da3b58ef..4a8a9c9a5c6712274e8947e749b8a362adb44810 100644 |
--- a/content/common/input/synthetic_web_input_event_builders.cc |
+++ b/content/common/input/synthetic_web_input_event_builders.cc |
@@ -6,6 +6,7 @@ |
#include "base/logging.h" |
#include "content/common/input/web_touch_event_traits.h" |
+#include "ui/events/event_utils.h" |
#include "ui/events/keycodes/keyboard_codes.h" |
namespace content { |
@@ -147,7 +148,9 @@ WebGestureEvent SyntheticWebGestureEventBuilder::BuildFling( |
return result; |
} |
-SyntheticWebTouchEvent::SyntheticWebTouchEvent() : WebTouchEvent() {} |
+SyntheticWebTouchEvent::SyntheticWebTouchEvent() : WebTouchEvent() { |
+ SetTimestamp(ui::EventTimeForNow()); |
+} |
void SyntheticWebTouchEvent::ResetPoints() { |
int point = 0; |