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

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

Issue 2573073003: Collapse the API surface on WebInputEvent via accessor functions. (Closed)
Patch Set: Fix nits Created 3 years, 11 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 da5d3131ec81fe22eeae58bd6b7ed1dfac65f070..160e083394edd83ad5cbac6a66e23900cc49296a 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 ||
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.cc ('k') | content/renderer/input/input_event_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698