Index: content/browser/renderer_host/input/mouse_wheel_event_queue.cc |
diff --git a/content/browser/renderer_host/input/mouse_wheel_event_queue.cc b/content/browser/renderer_host/input/mouse_wheel_event_queue.cc |
index 561ca19f4528377e4c7c4cc9590e73f52a0cdad2..7579c2afb434748bf33817c802fbe61fbd5b2191 100644 |
--- a/content/browser/renderer_host/input/mouse_wheel_event_queue.cc |
+++ b/content/browser/renderer_host/input/mouse_wheel_event_queue.cc |
@@ -180,7 +180,7 @@ void MouseWheelEventQueue::ProcessMouseWheelAck( |
} |
if (needs_update) { |
- ui::LatencyInfo latency = ui::LatencyInfo(); |
+ ui::LatencyInfo latency = ui::LatencyInfo(ui::SourceEventType::WHEEL); |
latency.AddLatencyNumber( |
ui::INPUT_EVENT_LATENCY_GENERATE_SCROLL_UPDATE_FROM_MOUSE_WHEEL, 0, |
0); |
@@ -268,7 +268,8 @@ void MouseWheelEventQueue::SendScrollEnd(WebGestureEvent update_event, |
if (scroll_end_timer_.IsRunning()) |
scroll_end_timer_.Reset(); |
} |
- client_->ForwardGestureEventWithLatencyInfo(scroll_end, ui::LatencyInfo()); |
+ client_->ForwardGestureEventWithLatencyInfo( |
+ scroll_end, ui::LatencyInfo(ui::SourceEventType::WHEEL)); |
} |
void MouseWheelEventQueue::SendScrollBegin( |
@@ -291,7 +292,8 @@ void MouseWheelEventQueue::SendScrollBegin( |
needs_scroll_begin_ = false; |
needs_scroll_end_ = true; |
- client_->ForwardGestureEventWithLatencyInfo(scroll_begin, ui::LatencyInfo()); |
+ client_->ForwardGestureEventWithLatencyInfo( |
+ scroll_begin, ui::LatencyInfo(ui::SourceEventType::WHEEL)); |
} |
} // namespace content |