Add FractionalLayoutUnit version of blend to AnimationUtilities
authoreae@chromium.org <eae@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Mar 2012 06:17:23 +0000 (06:17 +0000)
committereae@chromium.org <eae@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Mar 2012 06:17:23 +0000 (06:17 +0000)
commitcbd53360e35032acb33114f8dc5ab89f3438784e
tree52475e5261d43615a65265b7723b1bbbf94c2403
parentacd1f47f4586625a9077ab191245371cf3d508b5
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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/FractionalLayoutUnit.h
Source/WebCore/platform/animation/AnimationUtilities.h