Index: ui/events/event_utils.cc |
diff --git a/ui/events/event_utils.cc b/ui/events/event_utils.cc |
index 3095ad022d327cc22a6e04a918948a0b5ad3aaed..389edcadad60e01f232fa1b75d0a66658afe0483 100644 |
--- a/ui/events/event_utils.cc |
+++ b/ui/events/event_utils.cc |
@@ -110,6 +110,10 @@ void ComputeEventLatencyOS(const base::NativeEvent& native_event) { |
EventType type = EventTypeFromNative(native_event); |
switch (type) { |
+#if defined(OS_MACOSX) |
+ // On Mac, ET_SCROLL and ET_MOUSEWHEEL represent the same class of events. |
+ case ET_SCROLL: |
+#endif |
case ET_MOUSEWHEEL: |
UMA_HISTOGRAM_CUSTOM_COUNTS("Event.Latency.OS.MOUSE_WHEEL", |
delta.InMicroseconds(), 1, 1000000, 50); |