Index: ui/events/ozone/evdev/touch_noise/touch_noise_finder.h |
diff --git a/ui/events/ozone/evdev/touch_noise/touch_noise_finder.h b/ui/events/ozone/evdev/touch_noise/touch_noise_finder.h |
index 4b14e4ba3a010ca715367eaa2db3fe290dadfdab..f19b37718da47b9c1a35f8b6fb246bc6f1af89d4 100644 |
--- a/ui/events/ozone/evdev/touch_noise/touch_noise_finder.h |
+++ b/ui/events/ozone/evdev/touch_noise/touch_noise_finder.h |
@@ -28,14 +28,14 @@ class EVENTS_OZONE_EVDEV_EXPORT TouchNoiseFinder { |
// in-progress touches at |time| (including noisy touches). |
// |touches| should have at most one entry per ABS_MT_SLOT. |
void HandleTouches(const std::vector<InProgressTouchEvdev>& touches, |
- base::TimeDelta time); |
+ base::TimeTicks time); |
// Returns whether the in-progress touch at ABS_MT_SLOT |slot| is noise. |
bool SlotHasNoise(size_t slot) const; |
private: |
// Records how frequently noisy touches occur to UMA. |
- void RecordUMA(bool had_noise, base::TimeDelta time); |
+ void RecordUMA(bool had_noise, base::TimeTicks time); |
friend class TouchEventConverterEvdevTouchNoiseTest; |
@@ -43,7 +43,7 @@ class EVENTS_OZONE_EVDEV_EXPORT TouchNoiseFinder { |
std::bitset<kNumTouchEvdevSlots> slots_with_noise_; |
// The time of the previous noise occurence in any of the slots. |
- base::TimeDelta last_noise_time_; |
+ base::TimeTicks last_noise_time_; |
std::vector<TouchNoiseFilter*> filters_; |