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

Unified Diff: content/renderer/input/input_event_filter.cc

Issue 2569273002: Add constructors to WebInputEvents and setters so we can work at cleaning up these public structs. (Closed)
Patch Set: Rebase Created 3 years, 12 months 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/renderer/input/input_event_filter.cc
diff --git a/content/renderer/input/input_event_filter.cc b/content/renderer/input/input_event_filter.cc
index 23dcbc093661de711dbf732d99105ec8cc99d3cd..a6a3fbf586e91d9f464c3ce84c25afb6927e442d 100644
--- a/content/renderer/input/input_event_filter.cc
+++ b/content/renderer/input/input_event_filter.cc
@@ -220,7 +220,7 @@ void InputEventFilter::ForwardToHandler(const IPC::Message& message,
dispatch_type == DISPATCH_TYPE_NON_BLOCKING);
if (!received_time.is_null())
- event->timeStampSeconds = ui::EventTimeStampToSeconds(received_time);
+ event->setTimeStampSeconds(ui::EventTimeStampToSeconds(received_time));
input_handler_manager_->HandleInputEvent(
routing_id, std::move(event), latency_info,

Powered by Google App Engine
This is Rietveld 408576698