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

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

Issue 2023243002: Remove base::Tuple (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lint fix Created 4 years, 6 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 109b4fe9ed029a4d005d4e0bbe96ff5ef64993ea..d04cb3287eec1b36155659f6b7d5717e3194e177 100644
--- a/content/renderer/input/input_event_filter.cc
+++ b/content/renderer/input/input_event_filter.cc
@@ -4,6 +4,7 @@
#include "content/renderer/input/input_event_filter.h"
+#include <tuple>
#include <utility>
#include "base/auto_reset.h"
@@ -174,9 +175,9 @@ void InputEventFilter::ForwardToHandler(const IPC::Message& message) {
InputMsg_HandleInputEvent::Param params;
if (!InputMsg_HandleInputEvent::Read(&message, &params))
return;
- const WebInputEvent* event = base::get<0>(params);
- ui::LatencyInfo latency_info = base::get<1>(params);
- InputEventDispatchType dispatch_type = base::get<2>(params);
+ const WebInputEvent* event = std::get<0>(params);
+ ui::LatencyInfo latency_info = std::get<1>(params);
+ InputEventDispatchType dispatch_type = std::get<2>(params);
DCHECK(event);
DCHECK(dispatch_type == DISPATCH_TYPE_BLOCKING ||
dispatch_type == DISPATCH_TYPE_NON_BLOCKING);
« no previous file with comments | « content/renderer/external_popup_menu_browsertest.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