Merge the multiple frame tree walks in PageAnimator::serviceScriptedAnimations.
There's no real reason to do all this work in multiple passes over the Vector of Documents. This change does alter the web exposed behavior slightly since now given two same origin iframes that are siblings in the frame tree: A / \ B C when B runs if it looks at C's scroll position during a scroll animation and SMIL animation state it may see slightly different results, especially if the B frame actually started the animation in the C frame. This is already very racing and unpredictable in browsers since it's an obscure edge case, so I'm not too worried it'll break content. This will allow easily skipping iframes that are still loading when processing the blink pipeline. BUG=521692 Review URL: https://codereview.chromium.org/1298253003 git-svn-id: svn://svn.chromium.org/blink/trunk@200761 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment