Index: ui/events/ozone/evdev/touch_noise/far_apart_taps_touch_noise_filter.cc |
diff --git a/ui/events/ozone/evdev/touch_noise/far_apart_taps_touch_noise_filter.cc b/ui/events/ozone/evdev/touch_noise/far_apart_taps_touch_noise_filter.cc |
index f42dff3a681b04510295d62af48b5e427fc1252d..ba2e4597c5fd2d38af4b179b6d0a4fe09b970e96 100644 |
--- a/ui/events/ozone/evdev/touch_noise/far_apart_taps_touch_noise_filter.cc |
+++ b/ui/events/ozone/evdev/touch_noise/far_apart_taps_touch_noise_filter.cc |
@@ -43,10 +43,10 @@ int Distance2(int x1, int y1, int x2, int y2) { |
void FarApartTapsTouchNoiseFilter::Filter( |
const std::vector<InProgressTouchEvdev>& touches, |
- base::TimeDelta time, |
+ base::TimeTicks time, |
std::bitset<kNumTouchEvdevSlots>* slots_with_noise) { |
// Remove old taps. |
- base::TimeDelta tap_cutoff = |
+ base::TimeTicks tap_cutoff = |
time - base::TimeDelta::FromMilliseconds(kMaxTapDeltaMs); |
for (size_t i = 0; i < arraysize(tracked_taps_); ++i) { |
if (tracked_taps_[i].start < tap_cutoff) |