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

Unified Diff: content/renderer/render_view_impl.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
« no previous file with comments | « content/renderer/pepper/plugin_instance_throttler_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 9c8294fbe1706199f0166309fdf1abc5dd7181e4..42a0bb70f8bcaee8f2073fbc5f7c55f37a7c775a 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2729,12 +2729,12 @@ void RenderViewImpl::OnDiscardInputEvent(
}
if (dispatch_type == DISPATCH_TYPE_BLOCKING_NOTIFY_MAIN) {
- NotifyInputEventHandled(input_event->type,
+ NotifyInputEventHandled(input_event->type(),
INPUT_EVENT_ACK_STATE_NOT_CONSUMED);
}
std::unique_ptr<InputEventAck> ack(
- new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type,
+ new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(),
INPUT_EVENT_ACK_STATE_NOT_CONSUMED));
OnInputEventAck(std::move(ack));
}
« no previous file with comments | « content/renderer/pepper/plugin_instance_throttler_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698