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

Issue 2835193002: Get rid of the in_flight_event. (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

Get rid of the in_flight_event. It was possible that a nested message loop occurs in the processing event actually gets destroyed by running an event inside the nested loop. Put the object on the stack instead since we no longer have the virtual callback that we required this member for. Also this might actually be the cause to further hung renderers because under the old code the missing acks would silently get dropped. After https://codereview.chromium.org/2813683002 this caused a null-deref. BUG=714444 Review-Url: https://codereview.chromium.org/2835193002 Cr-Commit-Position: refs/heads/master@{#466645} Committed: https://chromium.googlesource.com/chromium/src/+/a721e02d8c476695c09870f913329618232ea50f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -14 lines) Patch
M content/renderer/input/main_thread_event_queue.h View 2 chunks +0 lines, -2 lines 0 comments Download
M content/renderer/input/main_thread_event_queue.cc View 4 chunks +6 lines, -12 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (9 generated)
dtapuska
3 years, 8 months ago (2017-04-24 14:17:51 UTC) #4
mustaq
lgtm
3 years, 8 months ago (2017-04-24 14:29:55 UTC) #6
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/2835193002/1
3 years, 8 months ago (2017-04-24 16:17:57 UTC) #10
commit-bot: I haz the power
3 years, 8 months ago (2017-04-24 16:24:34 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/a721e02d8c476695c09870f91332...

Powered by Google App Engine
This is Rietveld 408576698