Descriptionaw: Improve idle task scheduling
Three related changes:
* Only run idle tasks in the queue, not newly added ones.
* Move g_request_pending logic to SharedRendererState. This
allows pending tasks to be cancelled correctly.
* Wait for kModeProcess to happen first before trying to
request another to avoid a queue of pending tasks.
BUG=401712
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288285
Patch Set 1 #Patch Set 2 : refactoring #Patch Set 3 : move g_request_pending to shared state #Patch Set 4 : fix typo #
Total comments: 3
Patch Set 5 : remove gpu change #Patch Set 6 : handle failure #
Total comments: 5
Patch Set 7 : review changes #Patch Set 8 : remove CurrentlyOnUIThread #
Messages
Total messages: 11 (0 generated)
|