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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 541033003: Added coordinates information to InputLatency (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
Index: cc/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index c9526f93477a6b7d1f6198796bc8ee65e569aff5..2d696c43cae5283e6a57fe64d0552e7f29544573 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -849,6 +849,12 @@ void LayerTreeImpl::AsValueInto(base::debug::TracedValue* state) const {
TracedValue::AppendIDRef(*it, state);
}
state->EndArray();
+
+ state->BeginArray("traced_input_latency_ids");
Sami 2014/09/04 19:10:43 swap_promise_trace_ids
cvicentiu 2014/09/05 17:19:56 Done.
+ for (size_t i = 0; i < swap_promise_list_.size(); i++)
+ state->AppendDouble(swap_promise_list_[i]->TraceId());
Sami 2014/09/04 19:10:43 indent++
cvicentiu 2014/09/05 17:19:56 Done.
+ state->EndArray();
+
}
void LayerTreeImpl::SetRootLayerScrollOffsetDelegate(

Powered by Google App Engine
This is Rietveld 408576698