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

Unified Diff: chrome/browser/spellchecker/spellcheck_message_filter_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/browser/spellchecker/spellcheck_message_filter_unittest.cc
diff --git a/chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc b/chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc
index 0e98efeac7b12aa918c90126f4b2ee4104757a15..432f43bfe0fc0ac591ca4ecfa7030c67efca5c2b 100644
--- a/chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc
+++ b/chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc
@@ -104,10 +104,10 @@ TEST(SpellCheckMessageFilterTest, OnTextCheckCompleteTestCustomDictionary) {
SpellCheckMsg_RespondSpellingService::Param params;
bool ok = SpellCheckMsg_RespondSpellingService::Read(
filter->sent_messages[0], &params);
- int sent_identifier = get<0>(params);
- bool sent_success = get<1>(params);
- base::string16 sent_text = get<2>(params);
- std::vector<SpellCheckResult> sent_results = get<3>(params);
+ int sent_identifier = base::get<0>(params);
+ bool sent_success = base::get<1>(params);
+ base::string16 sent_text = base::get<2>(params);
+ std::vector<SpellCheckResult> sent_results = base::get<3>(params);
EXPECT_TRUE(ok);
EXPECT_EQ(kCallbackId, sent_identifier);
EXPECT_EQ(kSuccess, sent_success);
@@ -135,8 +135,8 @@ TEST(SpellCheckMessageFilterTest, OnTextCheckCompleteTest) {
SpellCheckMsg_RespondSpellingService::Param params;
bool ok = SpellCheckMsg_RespondSpellingService::Read(
filter->sent_messages[0], & params);
- base::string16 sent_text = get<2>(params);
- std::vector<SpellCheckResult> sent_results = get<3>(params);
+ base::string16 sent_text = base::get<2>(params);
+ std::vector<SpellCheckResult> sent_results = base::get<3>(params);
EXPECT_TRUE(ok);
EXPECT_EQ(static_cast<size_t>(2), sent_results.size());
}

Powered by Google App Engine
This is Rietveld 408576698