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

Unified Diff: content/browser/renderer_host/input/input_router_impl_unittest.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/browser/renderer_host/input/input_router_impl_unittest.cc
diff --git a/content/browser/renderer_host/input/input_router_impl_unittest.cc b/content/browser/renderer_host/input/input_router_impl_unittest.cc
index d8ce0648722b12473c3b02422a892977a2f02499..84bc82d86eb4dd24cc1496299f2093a378c46a12 100644
--- a/content/browser/renderer_host/input/input_router_impl_unittest.cc
+++ b/content/browser/renderer_host/input/input_router_impl_unittest.cc
@@ -9,6 +9,7 @@
#include <stdint.h>
#include <memory>
+#include <tuple>
#include "base/command_line.h"
#include "base/location.h"
@@ -90,7 +91,7 @@ void ExpectIPCMessageWithArg1(const IPC::Message* msg, const ARG_T1& arg1) {
ASSERT_EQ(MSG_T::ID, msg->type());
typename MSG_T::Schema::Param param;
ASSERT_TRUE(MSG_T::Read(msg, &param));
- EXPECT_EQ(arg1, base::get<0>(param));
+ EXPECT_EQ(arg1, std::get<0>(param));
}
template<typename MSG_T, typename ARG_T1, typename ARG_T2>
@@ -100,8 +101,8 @@ void ExpectIPCMessageWithArg2(const IPC::Message* msg,
ASSERT_EQ(MSG_T::ID, msg->type());
typename MSG_T::Schema::Param param;
ASSERT_TRUE(MSG_T::Read(msg, &param));
- EXPECT_EQ(arg1, base::get<0>(param));
- EXPECT_EQ(arg2, base::get<1>(param));
+ EXPECT_EQ(arg1, std::get<0>(param));
+ EXPECT_EQ(arg2, std::get<1>(param));
}
#if defined(USE_AURA)
@@ -1925,7 +1926,7 @@ class InputRouterImplScaleEventTest : public InputRouterImplTest {
InputMsg_HandleInputEvent::Schema::Param param;
InputMsg_HandleInputEvent::Read(process_->sink().GetMessageAt(0), &param);
- return static_cast<const T*>(base::get<0>(param));
+ return static_cast<const T*>(std::get<0>(param));
}
template <typename T>

Powered by Google App Engine
This is Rietveld 408576698