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

Unified Diff: content/browser/devtools/render_frame_devtools_agent_host.cc

Issue 2144733005: [WIP] cc: Plumb SurfaceId from clients Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure only SurfaceFactoy and tests can update hierarchy Created 4 years, 5 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/devtools/render_frame_devtools_agent_host.cc
diff --git a/content/browser/devtools/render_frame_devtools_agent_host.cc b/content/browser/devtools/render_frame_devtools_agent_host.cc
index 48dd0d4ae92010463e1404b1d9c7d0e6c90f940f..0a4f40019c571b5ac0b2fc7f056aa96aaae21b81 100644
--- a/content/browser/devtools/render_frame_devtools_agent_host.cc
+++ b/content/browser/devtools/render_frame_devtools_agent_host.cc
@@ -890,12 +890,12 @@ void RenderFrameDevToolsAgentHost::OnSwapCompositorFrame(
return;
if (page_handler_)
page_handler_->OnSwapCompositorFrame(
- std::move(std::get<1>(param).metadata));
+ std::move(std::get<2>(param).metadata));
if (input_handler_)
- input_handler_->OnSwapCompositorFrame(std::get<1>(param).metadata);
+ input_handler_->OnSwapCompositorFrame(std::get<2>(param).metadata);
if (frame_trace_recorder_ && tracing_handler_->did_initiate_recording()) {
frame_trace_recorder_->OnSwapCompositorFrame(
- current_ ? current_->host() : nullptr, std::get<1>(param).metadata);
+ current_ ? current_->host() : nullptr, std::get<2>(param).metadata);
}
}
« no previous file with comments | « content/browser/compositor/surface_utils.cc ('k') | content/browser/frame_host/render_widget_host_view_child_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698