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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.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/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index f43e3f85938712b86791115ae17e4877f1c3a7fb..497021c489534e12b7c8929e28e33c498c1bfadc 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -7,6 +7,7 @@
#include <math.h>
#include <set>
+#include <tuple>
#include <utility>
#include "base/auto_reset.h"
@@ -1561,10 +1562,10 @@ bool RenderWidgetHostImpl::OnSwapCompositorFrame(
if (!ViewHostMsg_SwapCompositorFrame::Read(&message, &param))
return false;
std::unique_ptr<cc::CompositorFrame> frame(new cc::CompositorFrame);
- uint32_t output_surface_id = base::get<0>(param);
- base::get<1>(param).AssignTo(frame.get());
+ uint32_t output_surface_id = std::get<0>(param);
+ std::get<1>(param).AssignTo(frame.get());
std::vector<IPC::Message> messages_to_deliver_with_frame;
- messages_to_deliver_with_frame.swap(base::get<2>(param));
+ messages_to_deliver_with_frame.swap(std::get<2>(param));
if (!ui::LatencyInfo::Verify(frame->metadata.latency_info,
"RenderWidgetHostImpl::OnSwapCompositorFrame")) {

Powered by Google App Engine
This is Rietveld 408576698