Test for persistent execution context during Animatable::animate.
Prior to the patch, the validity of the execution context was only checked on entry to the method; however, the execution context can be invalidated during the course of parsing keyframes or options. The parsing of options is upstream of Animatable::animate and caught by the existing check, but invalidation during keyframe parsing could fall through triggering a crash. Bug: 1161739 Change-Id: Ic0fc927d1d6ce902592bf92261fd4c506e96afac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2636213 Commit-Queue: Kevin Ellis <kevers@chromium.org> Reviewed-by:Robert Flack <flackr@chromium.org> Cr-Commit-Position: refs/heads/master@{#844622}
Showing
Please register or sign in to comment