Move CountAnimatedProperty call to KeyframeEffect.
Animated properties are now counted in the KeyframeEffect constructor and in SetKeyframes instead of in ProcessKeyframesRule. This makes WebAnimations trigger the use counters as well as CSS animations/transitions. Bug: 992430 Change-Id: I7f0d453d7cde1333863a1127c3dcc68931814c13 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2354946 Commit-Queue: George Steel <gtsteel@chromium.org> Reviewed-by:Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/master@{#799158}
Showing
Please register or sign in to comment