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

Unified Diff: cc/surfaces/display.cc

Issue 2374183006: Remove GLFrameData from CompositorFrame. (Closed)
Patch Set: Rebase. Created 4 years, 2 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 | « cc/output/software_renderer.cc ('k') | cc/surfaces/display_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.cc
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
index 24f521dcef01e519fc938e27797764269748f85c..6c3d0a55ad42913c093a4882f1cab0bbfa3dfb45 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -322,7 +322,7 @@ bool Display::DrawAndSwap() {
"Display::DrawAndSwap");
}
benchmark_instrumentation::IssueDisplayRenderingStatsEvent();
- renderer_->SwapBuffers(std::move(frame.metadata));
+ renderer_->SwapBuffers(std::move(frame.metadata.latency_info));
if (scheduler_)
scheduler_->DidSwapBuffers();
} else {
« no previous file with comments | « cc/output/software_renderer.cc ('k') | cc/surfaces/display_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698