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

Unified Diff: cc/surfaces/display.cc

Issue 511423004: Add LatencyInfo support for Surfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/cc.gyp ('k') | cc/surfaces/surface.h » ('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 70367e4bcfd625c4836bf6d4f87fb45fca3249b8..a46f05ff52bc786d20a82917405cee7a13676bc2 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -112,8 +112,7 @@ bool Display::Draw() {
device_viewport_rect,
device_clip_rect,
disable_picture_quad_image_filtering);
- CompositorFrameMetadata metadata;
- renderer_->SwapBuffers(metadata);
+ renderer_->SwapBuffers(frame->metadata);
for (SurfaceAggregator::SurfaceIndexMap::iterator it =
aggregator_->previous_contained_surfaces().begin();
it != aggregator_->previous_contained_surfaces().end();
« no previous file with comments | « cc/cc.gyp ('k') | cc/surfaces/surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698