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

Unified Diff: ui/events/ozone/evdev/touch_noise/horizontally_aligned_touch_noise_filter.cc

Issue 1975533002: Change ui::Event::time_stamp from TimeDelta to TimeTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months 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/horizontally_aligned_touch_noise_filter.cc
diff --git a/ui/events/ozone/evdev/touch_noise/horizontally_aligned_touch_noise_filter.cc b/ui/events/ozone/evdev/touch_noise/horizontally_aligned_touch_noise_filter.cc
index 4123ffa601a4b93fed079ced4759c381fe137aee..95eaef41c997c837dc9414334869cfe13e2ff7de 100644
--- a/ui/events/ozone/evdev/touch_noise/horizontally_aligned_touch_noise_filter.cc
+++ b/ui/events/ozone/evdev/touch_noise/horizontally_aligned_touch_noise_filter.cc
@@ -22,7 +22,7 @@ int kMaxDistance = 3;
void HorizontallyAlignedTouchNoiseFilter::Filter(
const std::vector<InProgressTouchEvdev>& touches,
- base::TimeDelta time,
+ base::TimeTicks time,
std::bitset<kNumTouchEvdevSlots>* slots_with_noise) {
for (const InProgressTouchEvdev& touch : touches) {
// Only consider new touches.

Powered by Google App Engine
This is Rietveld 408576698