[scroll-animations] Avoid creating a timeline for every CSSAnimation
Currently each CSSAnimation that references a @scroll-timeline gets its own CSSScrollTimeline instance (even in cases where the same animation-timeline name is used). This is a bit excessive, so this CL adds a mechanism for reusing matching instances. Bug: 1074052 Change-Id: I564e370b7ff9464e86ecca742fc693d13a4890bc Fixed: 1123864 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518052Reviewed-by:Kevin Ellis <kevers@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/master@{#824741}
Showing
Please register or sign in to comment