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

Unified Diff: content/browser/renderer_host/compositing_iosurface_mac.mm

Issue 25022003: Report LatencyInfo through trace buffer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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
Index: content/browser/renderer_host/compositing_iosurface_mac.mm
diff --git a/content/browser/renderer_host/compositing_iosurface_mac.mm b/content/browser/renderer_host/compositing_iosurface_mac.mm
index a9ca7079919955704bf61cb781f02ab051d71414..81612bc90ac97aef795515e1da330596baf1258d 100644
--- a/content/browser/renderer_host/compositing_iosurface_mac.mm
+++ b/content/browser/renderer_host/compositing_iosurface_mac.mm
@@ -497,7 +497,7 @@ bool CompositingIOSurfaceMac::DrawIOSurface(
}
}
- latency_info_.swap_timestamp = base::TimeTicks::HighResNow();
+ latency_info_.Report(ui::INPUT_EVENT_LATENCY_FRAME_SWAP_COMPONENT);
RenderWidgetHostImpl::CompositorFrameDrawn(latency_info_);
latency_info_.Clear();

Powered by Google App Engine
This is Rietveld 408576698