| 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 f19b37718da47b9c1a35f8b6fb246bc6f1af89d4..e3fa7cfb7d463be5d53adac8459421f6e70c736c 100644
|
| --- a/ui/events/ozone/evdev/touch_noise/touch_noise_finder.h
|
| +++ b/ui/events/ozone/evdev/touch_noise/touch_noise_finder.h
|
| @@ -8,6 +8,7 @@
|
| #include <stddef.h>
|
|
|
| #include <bitset>
|
| +#include <memory>
|
| #include <vector>
|
|
|
| #include "base/macros.h"
|
| @@ -42,10 +43,10 @@ class EVENTS_OZONE_EVDEV_EXPORT TouchNoiseFinder {
|
| // The slots which are noise.
|
| std::bitset<kNumTouchEvdevSlots> slots_with_noise_;
|
|
|
| - // The time of the previous noise occurence in any of the slots.
|
| + // The time of the previous noise occurrence in any of the slots.
|
| base::TimeTicks last_noise_time_;
|
|
|
| - std::vector<TouchNoiseFilter*> filters_;
|
| + std::vector<std::unique_ptr<TouchNoiseFilter>> filters_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TouchNoiseFinder);
|
| };
|
|
|