Title: [111410] branches/subpixellayout/Source/WebCore/platform/animation/AnimationUtilities.h
- Revision
- 111410
- Author
- [email protected]
- Date
- 2012-03-20 10:54:14 -0700 (Tue, 20 Mar 2012)
Log Message
AnimationUtil::bend changes on branch
Modified Paths
Diff
Modified: branches/subpixellayout/Source/WebCore/platform/animation/AnimationUtilities.h (111409 => 111410)
--- branches/subpixellayout/Source/WebCore/platform/animation/AnimationUtilities.h 2012-03-20 17:46:41 UTC (rev 111409)
+++ branches/subpixellayout/Source/WebCore/platform/animation/AnimationUtilities.h 2012-03-20 17:54:14 UTC (rev 111410)
@@ -26,8 +26,8 @@
#ifndef AnimationUtilities_h
#define AnimationUtilities_h
+#include "FractionalLayoutUnit.h"
#include <wtf/MathExtras.h>
-#include "FractionalLayoutUnit.h"
namespace WebCore {
@@ -51,7 +51,7 @@
return static_cast<float>(from + (to - from) * progress);
}
-inline double blend(FractionalLayoutUnit from, FractionalLayoutUnit to, double progress)
+inline FractionalLayoutUnit blend(FractionalLayoutUnit from, FractionalLayoutUnit to, double progress)
{
return from + (to - from) * progress;
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes