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

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

Issue 2573073003: Collapse the API surface on WebInputEvent via accessor functions. (Closed)
Patch Set: 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/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 a6a3fbf586e91d9f464c3ce84c25afb6927e442d..8e965a0e384db07d4d60c648a87ecc3810127a7c 100644
--- a/content/renderer/input/input_event_filter.cc
+++ b/content/renderer/input/input_event_filter.cc
@@ -238,7 +238,7 @@ void InputEventFilter::DidForwardToHandlerAndOverscroll(
bool send_ack = dispatch_type == DISPATCH_TYPE_BLOCKING;
uint32_t unique_touch_event_id =
ui::WebInputEventTraits::GetUniqueTouchEventId(*event);
- WebInputEvent::Type type = event->type;
+ WebInputEvent::Type type = event->type();
if (ack_state == INPUT_EVENT_ACK_STATE_SET_NON_BLOCKING ||
ack_state == INPUT_EVENT_ACK_STATE_SET_NON_BLOCKING_DUE_TO_FLING ||

Powered by Google App Engine
This is Rietveld 408576698