Attempt to clean up SMILTimeContainer mutation checking
Add a small helper class to set/reset the |prevent_scheduled_animations_changes_| flag in SMILTimeContainer as well as a method to check if it is clear. This reduces the amount of ifdeffery to check if we are allowed to check or not. Bug: 998526 Change-Id: I8583693e88751df56f16c46d7073139ba94dc253 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1811000Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#698424}
Showing
Please register or sign in to comment