Skip to content
Snippets Groups Projects
Commit f503ca49 authored by jamesr@chromium.org's avatar jamesr@chromium.org
Browse files

Merge 75078 - Pump the WebCore Timer queue before running animation callbacks

This works around a bug in the Mac UI message pump (72007) that can lead to starvation
of delayed tasks.  To avoid starving WebCore timers indefinitely when using
requestAnimationFrame, this patch explicitly pumps the WebCore Timer queue one each animate() call.

BUG=71735
TEST=open the WebGL aquarium demo (http://webglsamples.googlecode.com/hg/aquarium/aquarium.html) and click on the * next to "Change View". The animation should always happen without multi-second delays.

Review URL: http://codereview.chromium.org/6524030

TBR=jamesr@chromium.org
Review URL: http://codereview.chromium.org/6531009

git-svn-id: svn://svn.chromium.org/chrome/branches/648/src@75187 0039d316-1c4b-4281-b951-d872f2087c98
parent db6694cd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment