| Index: ui/events/ozone/evdev/touch_noise/touch_noise_finder.cc
|
| diff --git a/ui/events/ozone/evdev/touch_noise/touch_noise_finder.cc b/ui/events/ozone/evdev/touch_noise/touch_noise_finder.cc
|
| index 540dc1013ee2d721e5be906e92ed4b1895a75bc0..553b1f62cfbb7c43216d79962ec9ce2fbbfc6feb 100644
|
| --- a/ui/events/ozone/evdev/touch_noise/touch_noise_finder.cc
|
| +++ b/ui/events/ozone/evdev/touch_noise/touch_noise_finder.cc
|
| @@ -26,7 +26,7 @@ TouchNoiseFinder::~TouchNoiseFinder() {
|
|
|
| void TouchNoiseFinder::HandleTouches(
|
| const std::vector<InProgressTouchEvdev>& touches,
|
| - base::TimeDelta time) {
|
| + base::TimeTicks time) {
|
| for (const InProgressTouchEvdev& touch : touches) {
|
| if (!touch.was_touching)
|
| slots_with_noise_.set(touch.slot, false);
|
| @@ -44,7 +44,7 @@ bool TouchNoiseFinder::SlotHasNoise(size_t slot) const {
|
| return slots_with_noise_.test(slot);
|
| }
|
|
|
| -void TouchNoiseFinder::RecordUMA(bool had_noise, base::TimeDelta time) {
|
| +void TouchNoiseFinder::RecordUMA(bool had_noise, base::TimeTicks time) {
|
| if (slots_with_noise_.any()) {
|
| if (!had_noise) {
|
| UMA_HISTOGRAM_LONG_TIMES(
|
|
|