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

Unified Diff: content/browser/renderer_host/input/passthrough_touch_event_queue.h

Issue 2826673005: Fix recursion in handling touch input events acks. (Closed)
Patch Set: Rebase Created 3 years, 8 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: content/browser/renderer_host/input/passthrough_touch_event_queue.h
diff --git a/content/browser/renderer_host/input/passthrough_touch_event_queue.h b/content/browser/renderer_host/input/passthrough_touch_event_queue.h
index 561d0c204c5903672f811b06112d0c246a2a8e02..d38ee425b19094b6604749119b49c6367701a8f0 100644
--- a/content/browser/renderer_host/input/passthrough_touch_event_queue.h
+++ b/content/browser/renderer_host/input/passthrough_touch_event_queue.h
@@ -126,6 +126,8 @@ class CONTENT_EXPORT PassthroughTouchEventQueue : public TouchEventQueue {
// Whether touch events should be sent as uncancelable or not.
bool send_touch_events_async_;
+ bool processing_acks_;
+
// Event is saved to compare pointer positions for new touchmove events.
std::unique_ptr<blink::WebTouchEvent> last_sent_touchevent_;

Powered by Google App Engine
This is Rietveld 408576698