commit | cc4fa433ef22545acfca61e8029c0f7fff8de17c | [log] [tgz] |
---|---|---|
author | Stephen McGruer <smcgruer@chromium.org> | Tue Apr 03 15:25:57 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 03 15:25:57 2018 |
tree | ae9ea018587f2f6b6fe6ca78f3b1b503c80eb06f | |
parent | f57250877e2eefe4887699bc5e9d8ff9061b8398 [diff] |
Web Animations: Make AnimationPlaybackEvent's members null by default Whilst the code did correctly check whether the members of AnimationPlaybackEventInit were null, the AnimationPlaybackEvent constructor was setting them to 0.0 as a default value, which is incorrect via the spec: https://drafts.csswg.org/web-animations-1/#the-animationplaybackevent-interface This CL also converts the class members to use WTF::Optional to clearly distinguish between them being set and not set. Bug: 827572 Change-Id: I471666a022963dd19f8a74eaebafeeebf4e96c66 Reviewed-on: https://chromium-review.googlesource.com/988339 Reviewed-by: Xida Chen <xidachen@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/master@{#547715}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .