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

Unified Diff: ui/events/gesture_detection/touch_disposition_gesture_filter.cc

Issue 503883004: Don't pass touches to gesture recognizer for async acks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bug, add test. Created 6 years, 4 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/gesture_detection/touch_disposition_gesture_filter.cc
diff --git a/ui/events/gesture_detection/touch_disposition_gesture_filter.cc b/ui/events/gesture_detection/touch_disposition_gesture_filter.cc
index 323c7aafd04d98327c58b1fb4d63d5112a9163bb..60feee82b8f4871e7049694f7cd329110f420332 100644
--- a/ui/events/gesture_detection/touch_disposition_gesture_filter.cc
+++ b/ui/events/gesture_detection/touch_disposition_gesture_filter.cc
@@ -168,7 +168,7 @@ TouchDispositionGestureFilter::OnGesturePacket(
}
void TouchDispositionGestureFilter::OnTouchEventAck(bool event_consumed) {
- // Spurious touch acks from the renderer should not trigger a crash.
+ // Spurious asynchronous touch acks should not trigger a crash.
if (IsEmpty() || (Head().empty() && sequences_.size() == 1))
return;

Powered by Google App Engine
This is Rietveld 408576698