Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: ui/events/ozone/evdev/touch_noise/touch_noise_finder.h

Issue 2474163003: Remove stl_util's deletion function use from ui/. (Closed)
Patch Set: braces Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};
« no previous file with comments | « ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ('k') | ui/events/ozone/evdev/touch_noise/touch_noise_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698