Index: ui/events/ozone/evdev/touch_noise/single_position_touch_noise_filter.h |
diff --git a/ui/events/ozone/evdev/touch_noise/single_position_touch_noise_filter.h b/ui/events/ozone/evdev/touch_noise/single_position_touch_noise_filter.h |
index f6ee06d5dfb5a6c9ae4d763cfdac096a1121a062..2942d3cb200381bbf95dc712ab4e9720e5575a99 100644 |
--- a/ui/events/ozone/evdev/touch_noise/single_position_touch_noise_filter.h |
+++ b/ui/events/ozone/evdev/touch_noise/single_position_touch_noise_filter.h |
@@ -20,7 +20,7 @@ class SinglePositionTouchNoiseFilter : public TouchNoiseFilter { |
// TouchNoiseFilter: |
void Filter(const std::vector<InProgressTouchEvdev>& touches, |
- base::TimeDelta time, |
+ base::TimeTicks time, |
std::bitset<kNumTouchEvdevSlots>* slots_with_noise) override; |
private: |
@@ -32,8 +32,8 @@ class SinglePositionTouchNoiseFilter : public TouchNoiseFilter { |
size_t slot; |
int x; |
int y; |
- base::TimeDelta begin; |
- base::TimeDelta end; |
+ base::TimeTicks begin; |
+ base::TimeTicks end; |
// The age of the oldest touch at the same location as this TrackedTouch. |
// Logged to UMA when we stop tracking the TrackedTouch. |
@@ -42,7 +42,7 @@ class SinglePositionTouchNoiseFilter : public TouchNoiseFilter { |
void StopTrackingTouch(size_t index); |
void TrackTouch(const InProgressTouchEvdev& touch, |
- base::TimeDelta time); |
+ base::TimeTicks time); |
// A mapping of slot to tracked touch index in |tracked_touches_|. |
size_t tracked_slots_[kNumTouchEvdevSlots]; |