Chromium Code Reviews
DescriptionFix a bug with throttling and timer queue suspension
Both the ThrottlingHelper and timer queue suspension (via
SuspendTimerQueue/ResumeTimerQueue and
SuspendTimerQueueWhenBackgrounded / ResumeTimerQueueWhenForegrounded)
call TaskQueue::SetEnabled and it was possible for the ThrottlingHelper
to re-enable a suspended queue by mistake.
This patch prevents that from happening.
BUG=616052
Committed: https://crrev.com/22ca5b9bce1453364fdb32979af7175ccf234e15
Cr-Commit-Position: refs/heads/master@{#397437}
Patch Set 1 #Patch Set 2 : Make sure this works in general. #
Total comments: 10
Patch Set 3 : Sami's comments #
Messages
Total messages: 19 (10 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||