commit | 2902654d73e375fea30c8296e96679e69ef4ab9c | [log] [tgz] |
---|---|---|
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Fri Aug 08 09:43:57 2014 +0000 |
committer | Bo Liu <boliu@google.com> | Wed Aug 13 10:59:31 2014 -0700 |
tree | ff4f5cad7d55c19fcd24e00c1aaf5f192e991be7 | |
parent | a2eb93e043a6f9e6aa380f36c096222c179ec4bd [diff] |
Cherry-pick: aw: Improve idle task scheduling Clean cherry-pick of chromium crrev.com/r288285 BUG: 16550863 Original description: 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. Change-Id: If50da7ff6af6251654bc985f5cd2b78bf4f390b6