| Index: ui/events/ozone/evdev/touch_noise/far_apart_taps_touch_noise_filter.h
|
| diff --git a/ui/events/ozone/evdev/touch_noise/far_apart_taps_touch_noise_filter.h b/ui/events/ozone/evdev/touch_noise/far_apart_taps_touch_noise_filter.h
|
| index d21d99dd268b347a4e2ffb8046e6f34bc98e8237..02a4adad0f2ac2185632da77d5b846a2f7fc1803 100644
|
| --- a/ui/events/ozone/evdev/touch_noise/far_apart_taps_touch_noise_filter.h
|
| +++ b/ui/events/ozone/evdev/touch_noise/far_apart_taps_touch_noise_filter.h
|
| @@ -18,19 +18,19 @@ class FarApartTapsTouchNoiseFilter : public TouchNoiseFilter {
|
|
|
| // TouchNoiseFilter:
|
| void Filter(const std::vector<InProgressTouchEvdev>& touches,
|
| - base::TimeDelta time,
|
| + base::TimeTicks time,
|
| std::bitset<kNumTouchEvdevSlots>* slots_with_noise) override;
|
|
|
| private:
|
| struct Tap {
|
| Tap() : x(0), y(0) {}
|
| - Tap(base::TimeDelta start, int x, int y)
|
| + Tap(base::TimeTicks start, int x, int y)
|
| : start(start), x(x), y(y) {}
|
|
|
| - bool is_valid() const { return !start.is_zero(); }
|
| - void Invalidate() { start = base::TimeDelta(); }
|
| + bool is_valid() const { return !start.is_null(); }
|
| + void Invalidate() { start = base::TimeTicks(); }
|
|
|
| - base::TimeDelta start;
|
| + base::TimeTicks start;
|
| float x;
|
| float y;
|
| };
|
|
|