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

Unified Diff: content/common/input/input_param_traits_unittest.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: content/common/input/input_param_traits_unittest.cc
diff --git a/content/common/input/input_param_traits_unittest.cc b/content/common/input/input_param_traits_unittest.cc
index b17b094372a0eddc4445686fb1c1bf7b79673d43..c6ad4dcdaa606f1f1005c4f0f74dc72a0d1d71d7 100644
--- a/content/common/input/input_param_traits_unittest.cc
+++ b/content/common/input/input_param_traits_unittest.cc
@@ -131,7 +131,7 @@ TEST_F(InputParamTraitsTest, WebInputEvents) {
WebKit::WebMouseWheelEvent wheel_event;
wheel_event.type = WebKit::WebInputEvent::MouseWheel;
wheel_event.deltaX = 10;
- latency.AddLatencyNumber(ui::INPUT_EVENT_LATENCY_RWH_COMPONENT, 1, 1);
+ latency.AddLatencyNumber(ui::INPUT_EVENT_LATENCY_BEGIN_RWH_COMPONENT, 1, 1);
AddTo(packet_in, InputEvent::Create(
++next_event_id,
WebInputEventPayload::Create(wheel_event, latency, false)));

Powered by Google App Engine
This is Rietveld 408576698