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

Issue 2793963002: Allow events in queue to coalesce while executing other events. (Closed)

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

Description

Allow events in queue to coalesce while executing other events. The code removed all events from the queue at the start which is flawed because a slow handler could cause another event not to be coalesced. This was explicitly tested in the browser test that is failing sometimes now. BUG=707491, 674301 Review-Url: https://codereview.chromium.org/2793963002 Cr-Commit-Position: refs/heads/master@{#461843} Committed: https://chromium.googlesource.com/chromium/src/+/b1e592331aa12efbde84280e8b4e9248a7360c9d

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix mustaq's comments #

Total comments: 4

Patch Set 3 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -34 lines) Patch
M content/browser/renderer_host/input/main_thread_event_queue_browsertest.cc View 1 1 chunk +1 line, -5 lines 0 comments Download
M content/renderer/input/main_thread_event_queue.cc View 1 2 4 chunks +37 lines, -22 lines 0 comments Download
M content/renderer/input/main_thread_event_queue_task_list.h View 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
dtapuska
PTAL
3 years, 8 months ago (2017-04-03 14:24:24 UTC) #3
mustaq
As we discussed offline... https://codereview.chromium.org/2793963002/diff/1/content/renderer/input/main_thread_event_queue.cc File content/renderer/input/main_thread_event_queue.cc (right): https://codereview.chromium.org/2793963002/diff/1/content/renderer/input/main_thread_event_queue.cc#newcode409 content/renderer/input/main_thread_event_queue.cc:409: shared_state_.sent_main_frame_request_ = false; Just spotted ...
3 years, 8 months ago (2017-04-04 14:59:22 UTC) #4
dtapuska
PTAL https://codereview.chromium.org/2793963002/diff/1/content/renderer/input/main_thread_event_queue.cc File content/renderer/input/main_thread_event_queue.cc (right): https://codereview.chromium.org/2793963002/diff/1/content/renderer/input/main_thread_event_queue.cc#newcode409 content/renderer/input/main_thread_event_queue.cc:409: shared_state_.sent_main_frame_request_ = false; On 2017/04/04 14:59:22, mustaq wrote: ...
3 years, 8 months ago (2017-04-04 15:27:45 UTC) #7
mustaq
LGTM with nits: https://codereview.chromium.org/2793963002/diff/20001/content/renderer/input/main_thread_event_queue.cc File content/renderer/input/main_thread_event_queue.cc (right): https://codereview.chromium.org/2793963002/diff/20001/content/renderer/input/main_thread_event_queue.cc#newcode426 content/renderer/input/main_thread_event_queue.cc:426: // Look at the tail of ...
3 years, 8 months ago (2017-04-04 16:00:23 UTC) #8
dtapuska
https://codereview.chromium.org/2793963002/diff/20001/content/renderer/input/main_thread_event_queue.cc File content/renderer/input/main_thread_event_queue.cc (right): https://codereview.chromium.org/2793963002/diff/20001/content/renderer/input/main_thread_event_queue.cc#newcode426 content/renderer/input/main_thread_event_queue.cc:426: // Look at the tail of the queue and ...
3 years, 8 months ago (2017-04-04 20:02:19 UTC) #11
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/2793963002/40001
3 years, 8 months ago (2017-04-04 20:02:54 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 21:22:53 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/b1e592331aa12efbde84280e8b4e...

Powered by Google App Engine
This is Rietveld 408576698