forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement API for shorthand properties animation and transition.
This cl is a resubmission of an earlier cl (crrev.com/c/549675), which was reverted to fix a crash on one specific version of Google Pixel. The difference between this cl and the previous cl is in the implementation of CSSPropertyAnimationUtils::ConsumeAnimationShorthand: - The old version is a templated function that uses function callback and variable number of args. - The new version uses a function pointer, which is simpler than a callback. The original crash was not reproducible using the old patch. But it is probably better to use function pointers instead of a callback function with variable number of bugs. Have run this new patch on a pixel phone and there was not crash. Bug: 668012 Change-Id: I183df5f3a168fffbed253a8b47b177fa72cd06b4 Reviewed-on: https://chromium-review.googlesource.com/569505 Commit-Queue: Jia Meng <jiameng@chromium.org> Reviewed-by: Alan Cutter <alancutter@chromium.org> Cr-Commit-Position: refs/heads/master@{#487372}
- Loading branch information
Showing
11 changed files
with
423 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.