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

Unified Diff: content/common/input/web_input_event_traits.cc

Issue 78263003: Ignore TouchCancel ack dispositions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Speculative fix... Created 7 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: content/common/input/web_input_event_traits.cc
diff --git a/content/common/input/web_input_event_traits.cc b/content/common/input/web_input_event_traits.cc
index 53f175692cf3438f255e519a34dc6b557bacb23e..faa37ac3c1dbf6a5bfe912820e832df1ceb54ff5 100644
--- a/content/common/input/web_input_event_traits.cc
+++ b/content/common/input/web_input_event_traits.cc
@@ -289,7 +289,8 @@ bool WebInputEventTraits::IgnoresAckDisposition(
type == WebInputEvent::GestureShowPress ||
type == WebInputEvent::GestureTapCancel ||
type == WebInputEvent::GesturePinchBegin ||
- type == WebInputEvent::GesturePinchEnd;
+ type == WebInputEvent::GesturePinchEnd ||
+ type == WebInputEvent::TouchCancel;
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698