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

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

Issue 821453003: Update legacy Tuple-using code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: media Created 6 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 aca0cbc33d1fbd97fe8570002b78201d32f41a26..be963cf6d25865ab88cd9b5ba6817a57bbbbb011 100644
--- a/content/renderer/input/input_event_filter.cc
+++ b/content/renderer/input/input_event_filter.cc
@@ -146,9 +146,9 @@ void InputEventFilter::ForwardToHandler(const IPC::Message& message) {
InputMsg_HandleInputEvent::Param params;
if (!InputMsg_HandleInputEvent::Read(&message, &params))
return;
- const WebInputEvent* event = params.a;
- ui::LatencyInfo latency_info = params.b;
- bool is_keyboard_shortcut = params.c;
+ const WebInputEvent* event = get<0>(params);
+ ui::LatencyInfo latency_info = get<1>(params);
+ bool is_keyboard_shortcut = get<2>(params);
DCHECK(event);
const bool send_ack = !WebInputEventTraits::IgnoresAckDisposition(*event);

Powered by Google App Engine
This is Rietveld 408576698