Chromium Code Reviews
DescriptionStop using WaitMessage in MessagePumpForUI::WaitForWork
When WaitMessage is called it ignores the current delay
timeout and might end up waiting an arbitrary time. See the
bug for the explanation.
The fix is to loop back and call MsgWaitForMultipleObjectEx
again with the remaining timeout.
BUG=610005, 596190
Review-Url: https://codereview.chromium.org/1953393002
Cr-Commit-Position: refs/heads/master@{#393375}
(cherry picked from commit 05e1178680e47f4263f9c7087dad1d8e099a5027)
Committed: https://chromium.googlesource.com/chromium/src/+/11489eff83fe66f994f8d824f5327b15dde0e2e7
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||