commit | 4344b812321a1c1c021723e5f6fce77920688c0e | [log] [tgz] |
---|---|---|
author | Majid Valipour <majidvp@chromium.org> | Wed May 16 19:52:07 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 16 19:52:07 2018 |
tree | c62c8f2868d5f25e994a63c1839239d8f1b56f8f | |
parent | 3b8a5ee5dad1eeb8739f1ce51cddcc048fd8cee7 [diff] |
[animation-worklet] Make timeline & options optional in WorkletAnimation constructor The last two values should be optional according to the specification [1]. Added two new factory methods to allow this. To do this cleanly switched WorkletAnimation to have Member<AnimationTimeline> instead of holding onto a DocumentTimelineOrScrollTimeline. [1] https://wicg.github.io/animation-worklet/#creating-worklet-animation TEST: virtual/threaded/fast/animationworklet/worklet-animation-creation.html Bug: 840383 Change-Id: Ida5aa077fbf19b4918652c02e92f40435db4fbb4 Reviewed-on: https://chromium-review.googlesource.com/1047691 Commit-Queue: Majid Valipour <majidvp@chromium.org> Reviewed-by: Majid Valipour <majidvp@chromium.org> Reviewed-by: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/master@{#559240}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .