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

Unified Diff: chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc

Issue 1159553007: Move Tuple to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc
diff --git a/chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc b/chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc
index 15c26e310ec03ba98829a3382f04499112520d1f..e97f3146024370cfac48d3a84f74775a4b0cb9b4 100644
--- a/chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc
+++ b/chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc
@@ -23,7 +23,7 @@ void FakeMessageArrival(
bool handled = provider->OnMessageReceived(
SpellCheckMsg_RespondTextCheck(
0,
- get<1>(parameters),
+ base::get<1>(parameters),
fake_result));
EXPECT_TRUE(handled);
}
@@ -42,7 +42,7 @@ TEST_F(SpellCheckProviderMacTest, SingleRoundtripSuccess) {
bool ok = SpellCheckHostMsg_RequestTextCheck::Read(
provider_.messages_[0], &read_parameters1);
EXPECT_TRUE(ok);
- EXPECT_EQ(get<2>(read_parameters1), base::UTF8ToUTF16("hello "));
+ EXPECT_EQ(base::get<2>(read_parameters1), base::UTF8ToUTF16("hello "));
FakeMessageArrival(&provider_, read_parameters1);
EXPECT_EQ(completion.completion_count_, 1U);
@@ -68,13 +68,13 @@ TEST_F(SpellCheckProviderMacTest, TwoRoundtripSuccess) {
bool ok = SpellCheckHostMsg_RequestTextCheck::Read(
provider_.messages_[0], &read_parameters1);
EXPECT_TRUE(ok);
- EXPECT_EQ(get<2>(read_parameters1), base::UTF8ToUTF16("hello "));
+ EXPECT_EQ(base::get<2>(read_parameters1), base::UTF8ToUTF16("hello "));
SpellCheckHostMsg_RequestTextCheck::Param read_parameters2;
ok = SpellCheckHostMsg_RequestTextCheck::Read(
provider_.messages_[1], &read_parameters2);
EXPECT_TRUE(ok);
- EXPECT_EQ(get<2>(read_parameters2), base::UTF8ToUTF16("bye "));
+ EXPECT_EQ(base::get<2>(read_parameters2), base::UTF8ToUTF16("bye "));
FakeMessageArrival(&provider_, read_parameters1);
EXPECT_EQ(completion1.completion_count_, 1U);

Powered by Google App Engine
This is Rietveld 408576698