Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add FractionalLayoutUnit version of blend to AnimationUtilities
https://bugs.webkit.org/show_bug.cgi?id=81572 Reviewed by Eric Seidel. Add version of blend method that operates on FractionalLayoutUnits. This will be used in place of the integer version in many places once we enable support for subpixel layout. No new tests. * platform/FractionalLayoutUnit.h: Include math.h to make GTK build happy. * platform/animation/AnimationUtilities.h: (WebCore::blend): Canonical link: https://commits.webkit.org/98884@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
3 changed files
with
26 additions
and
0 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
@@ -33,6 +33,7 @@ | ||
|
||
#include <limits.h> | ||
#include <limits> | ||
#include <math.h> | ||
#include <stdlib.h> | ||
|
||
namespace WebCore { | ||
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