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

Unified Diff: ui/events/event.cc

Issue 25022003: Report LatencyInfo through trace buffer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: address sadrul's comments Created 7 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
Index: ui/events/event.cc
diff --git a/ui/events/event.cc b/ui/events/event.cc
index 3b4cdce795a0d18b3ee0b424d32f6e6aa0328cd6..05af5836862a102831370f75550b9ecf04cacd08 100644
--- a/ui/events/event.cc
+++ b/ui/events/event.cc
@@ -241,7 +241,8 @@ void Event::InitLatencyInfo() {
0,
base::TimeTicks::FromInternalValue(
time_stamp_.ToInternalValue()),
- 1);
+ 1,
+ true);
latency_.AddLatencyNumber(INPUT_EVENT_LATENCY_UI_COMPONENT, 0, 0);
}

Powered by Google App Engine
This is Rietveld 408576698