commit | ebd6dde89d88e789ecc2751668506910acba165a | [log] [tgz] |
---|---|---|
author | fs <fs@opera.com> | Sat Aug 20 08:57:45 2016 |
committer | Commit bot <commit-bot@chromium.org> | Sat Aug 20 09:00:40 2016 |
tree | df848598e13933aab7c77728d9472012fceeb3b6 | |
parent | e2661985a8fc716a61934a9c713ff94094155a99 [diff] |
Refactor SMILTimeContainer can-schedule-frame predicate begin() and updateAnimationsAndScheduleFrameIfNeeded() use the same predicate to check if they should schedule an animation frame - although they phrase it slightly differently (because of local knowledge.) Move the generic version to a canScheduleFrame() method and use that in both cases. BUG=631879 Review-Url: https://codereview.chromium.org/2257803002 Cr-Commit-Position: refs/heads/master@{#413328}