Commit b16df4c6 authored by sadrul@chromium.org's avatar sadrul@chromium.org

touch: Set the timestamp for the touchevent.

BUG=touchy clicks don't work
TEST=touchy clicks work

Review URL: http://codereview.chromium.org/6175006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71348 0039d316-1c4b-4281-b951-d872f2087c98
parent 0f8b652f
......@@ -721,6 +721,7 @@ bool RenderWidgetHostViewViews::OnTouchEvent(const views::TouchEvent& e) {
// Update the type of the touch event.
touch_event_.type = TouchEventTypeFromEvent(&e);
touch_event_.timeStampSeconds = base::Time::Now().ToDoubleT();
// The event and all the touches have been updated. Dispatch.
host_->ForwardTouchEvent(touch_event_);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment