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

Issue 2826673005: Fix recursion in handling touch input events acks. (Closed)

Created:
3 years, 8 months ago by dtapuska
Modified:
3 years, 8 months ago
Reviewers:
tdresser
CC:
chromium-reviews, jam, darin-cc_chromium.org, dtapuska+chromiumwatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix recursion in handling touch input events acks. Event ack notification could cause some issues due to recursion. Add a test ensuring that the recursion doesn't occur. BUG=711325 Review-Url: https://codereview.chromium.org/2826673005 Cr-Commit-Position: refs/heads/master@{#465367} Committed: https://chromium.googlesource.com/chromium/src/+/7df0af6216babebfbe1a71090bac6b8397d9ae7c

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 6

Patch Set 3 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -5 lines) Patch
M content/browser/renderer_host/input/passthrough_touch_event_queue.h View 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/passthrough_touch_event_queue.cc View 2 2 chunks +7 lines, -1 line 0 comments Download
M content/browser/renderer_host/input/passthrough_touch_event_queue_unittest.cc View 1 2 4 chunks +44 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (10 generated)
dtapuska
3 years, 8 months ago (2017-04-18 18:41:49 UTC) #7
tdresser
LGTM, thanks! https://codereview.chromium.org/2826673005/diff/20001/content/browser/renderer_host/input/passthrough_touch_event_queue_unittest.cc File content/browser/renderer_host/input/passthrough_touch_event_queue_unittest.cc (right): https://codereview.chromium.org/2826673005/diff/20001/content/browser/renderer_host/input/passthrough_touch_event_queue_unittest.cc#newcode773 content/browser/renderer_host/input/passthrough_touch_event_queue_unittest.cc:773: SendTouchEventAckLast(INPUT_EVENT_ACK_STATE_CONSUMED); Can you comment that this will ...
3 years, 8 months ago (2017-04-18 18:57:03 UTC) #8
dtapuska
https://codereview.chromium.org/2826673005/diff/20001/content/browser/renderer_host/input/passthrough_touch_event_queue_unittest.cc File content/browser/renderer_host/input/passthrough_touch_event_queue_unittest.cc (right): https://codereview.chromium.org/2826673005/diff/20001/content/browser/renderer_host/input/passthrough_touch_event_queue_unittest.cc#newcode773 content/browser/renderer_host/input/passthrough_touch_event_queue_unittest.cc:773: SendTouchEventAckLast(INPUT_EVENT_ACK_STATE_CONSUMED); On 2017/04/18 18:57:02, tdresser wrote: > Can you ...
3 years, 8 months ago (2017-04-18 19:56:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2826673005/40001
3 years, 8 months ago (2017-04-18 19:57:55 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 20:57:23 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/7df0af6216babebfbe1a71090bac...

Powered by Google App Engine
This is Rietveld 408576698