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

Unified Diff: content/browser/frame_host/navigation_controller_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/frame_host/navigation_controller_impl_unittest.cc
diff --git a/content/browser/frame_host/navigation_controller_impl_unittest.cc b/content/browser/frame_host/navigation_controller_impl_unittest.cc
index f67f7e6f9a2118486c0d69a4519367424cdfb6a1..8dbe69da9e2539a86b053121a173f48171c6f9fd 100644
--- a/content/browser/frame_host/navigation_controller_impl_unittest.cc
+++ b/content/browser/frame_host/navigation_controller_impl_unittest.cc
@@ -8,6 +8,7 @@
#include <stdint.h>
#include <memory>
+#include <tuple>
#include <utility>
#include "base/bind.h"
@@ -247,10 +248,11 @@ class NavigationControllerTest
const IPC::Message* message =
process()->sink().GetFirstMessageMatching(FrameMsg_Navigate::ID);
CHECK(message);
- base::Tuple<CommonNavigationParams, StartNavigationParams,
- RequestNavigationParams> nav_params;
+ std::tuple<CommonNavigationParams, StartNavigationParams,
+ RequestNavigationParams>
+ nav_params;
FrameMsg_Navigate::Read(message, &nav_params);
- return base::get<0>(nav_params).url;
+ return std::get<0>(nav_params).url;
}
protected:

Powered by Google App Engine
This is Rietveld 408576698