| Index: content/browser/renderer_host/ui_events_helper.cc
|
| diff --git a/content/browser/renderer_host/ui_events_helper.cc b/content/browser/renderer_host/ui_events_helper.cc
|
| index a062303cc07e63ebe066c615d61f5640e46030db..6c958df4547c4250d3a671f7ff728a8e06cdc9ef 100644
|
| --- a/content/browser/renderer_host/ui_events_helper.cc
|
| +++ b/content/browser/renderer_host/ui_events_helper.cc
|
| @@ -64,8 +64,8 @@ bool MakeUITouchEventsFromWebTouchEvents(
|
| }
|
|
|
| int flags = WebEventModifiersToEventFlags(touch.modifiers);
|
| - base::TimeDelta timestamp = base::TimeDelta::FromMicroseconds(
|
| - static_cast<int64_t>(touch.timeStampSeconds * 1000000));
|
| + base::TimeTicks timestamp =
|
| + base::TimeTicks() + base::TimeDelta::FromSecondsD(touch.timeStampSeconds);
|
| for (unsigned i = 0; i < touch.touchesLength; ++i) {
|
| const blink::WebTouchPoint& point = touch.touches[i];
|
| if (WebTouchPointStateToEventType(point.state) != type)
|
|
|