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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 1137823002: Pass collected frame timing events to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Send finishTime as well for Render events. Created 5 years, 7 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: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index 3a59805f4bbe17866692050bad68632904cc0bb8..0de833c09c4bc5119c90482bc2a489c893388355 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -1044,6 +1044,16 @@ void LayerTreeHost::ApplyScrollAndScale(ScrollAndScaleSet* info) {
}
}
+void LayerTreeHost::RecordCompositeTimings(
+ FrameTimingTracker::CompositeTimingSet* info) {
+ client_->RecordCompositeTimings(info);
+}
+
+void LayerTreeHost::RecordRenderTimings(
+ FrameTimingTracker::MainFrameTimingSet* info) {
+ client_->RecordRenderTimings(info);
+}
+
void LayerTreeHost::StartRateLimiter() {
if (inside_begin_main_frame_)
return;

Powered by Google App Engine
This is Rietveld 408576698