Don't create CSSAnimationData to apply initial values.
ComputedStyle::Animations() are null if all values are initial. If we apply initial we don't need to create the object. The same applies to CSSTransitionData. Change-Id: I4c529a9df1764ba04560554892a46c452734d26a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2489621Reviewed-by:Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#819540}
Showing
Please register or sign in to comment