Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6638)

Unified Diff: content/browser/renderer_host/input/synthetic_touch_driver.cc

Issue 2569273002: Add constructors to WebInputEvents and setters so we can work at cleaning up these public structs. (Closed)
Patch Set: Fix mouse up event sender not modifying modifiers Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 519390d212c289bd0522587ca547c2ef6d137b24..41ac6a05db4fdc2da3b9e242d39b33e41ffc4160 100644
--- a/content/browser/renderer_host/input/synthetic_touch_driver.cc
+++ b/content/browser/renderer_host/input/synthetic_touch_driver.cc
@@ -19,7 +19,7 @@ SyntheticTouchDriver::~SyntheticTouchDriver() {}
void SyntheticTouchDriver::DispatchEvent(SyntheticGestureTarget* target,
const base::TimeTicks& timestamp) {
- touch_event_.timeStampSeconds = ConvertTimestampToSeconds(timestamp);
+ touch_event_.setTimeStampSeconds(ConvertTimestampToSeconds(timestamp));
target->DispatchInputEventToPlatform(touch_event_);
}

Powered by Google App Engine
This is Rietveld 408576698