commit | 4938612668f2625a3ad35af38c21dd793ad9e632 | [log] [tgz] |
---|---|---|
author | Sami Kyostila <skyostil@chromium.org> | Tue Dec 11 15:28:31 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 11 15:28:31 2018 |
tree | 0f3350ab62b8bd87beaa81aa53084f88abd0aeca | |
parent | d8f76d5717a9737bb0f60588162ec5fff76ae3cd [diff] |
base: Don't do delayed work after quitting in Mac message pump This patch fixes a problem in the Mac message pump where we kept calling Delegate::DoDelayedWork even if a previous call to Delegate::DoWork caused the runloop to quit. This matches the behavior outlined in message_pump.h[1] as well as that of the other platform-specific pumps. We also introduce a message pump unit test that verifies behavior across all message pump types. Bug: 891670 [1] https://cs.chromium.org/chromium/src/base/message_loop/message_pump.h?rcl=a28a6097182e739c4a8c600b538fcc07681fc7a3&l=58 Change-Id: I00ccb5c55ac8551259a2febd343ec64fdd55630d Reviewed-on: https://chromium-review.googlesource.com/c/1370367 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Sami Kyöstilä <skyostil@chromium.org> Cr-Commit-Position: refs/heads/master@{#615528}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .