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

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

Issue 2728183002: RendererCompositorFrameSink should handle local surface id allocation (Closed)
Patch Set: rebase Created 3 years, 9 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
« no previous file with comments | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6ecf9819126045718902f4bdea3a8b918ece6df6..508cccda2de748dd43eea03946069f59adf4f9ee 100644
--- a/content/browser/devtools/render_frame_devtools_agent_host.cc
+++ b/content/browser/devtools/render_frame_devtools_agent_host.cc
@@ -1095,16 +1095,15 @@ void RenderFrameDevToolsAgentHost::OnSwapCompositorFrame(
protocol::PageHandler* page_handler =
protocol::PageHandler::FromSession(session());
if (page_handler) {
- page_handler->OnSwapCompositorFrame(
- std::move(std::get<1>(param).metadata));
+ page_handler->OnSwapCompositorFrame(std::move(std::get<2>(param).metadata));
}
- protocol::InputHandler::FromSession(session())
- ->OnSwapCompositorFrame(std::get<1>(param).metadata);
+ protocol::InputHandler::FromSession(session())->OnSwapCompositorFrame(
+ std::get<2>(param).metadata);
protocol::TracingHandler* tracing_handler =
protocol::TracingHandler::FromSession(session());
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 | « no previous file | 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