Title: [128526] trunk/Source/WebKit/chromium
- Revision
- 128526
- Author
- jam...@google.com
- Date
- 2012-09-13 16:29:55 -0700 (Thu, 13 Sep 2012)
Log Message
PlatformGestureCurveTest compile fix pt 2
* tests/PlatformGestureCurveTest.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (128525 => 128526)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-09-13 23:18:24 UTC (rev 128525)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-09-13 23:29:55 UTC (rev 128526)
@@ -1,5 +1,11 @@
2012-09-13 James Robinson <jam...@chromium.org>
+ PlatformGestureCurveTest compile fix pt 2
+
+ * tests/PlatformGestureCurveTest.cpp:
+
+2012-09-13 James Robinson <jam...@chromium.org>
+
Fix compile warning/error on windows - literal that isn't exactly representable as a float needs "f" suffix.
* tests/PlatformGestureCurveTest.cpp:
Modified: trunk/Source/WebKit/chromium/tests/PlatformGestureCurveTest.cpp (128525 => 128526)
--- trunk/Source/WebKit/chromium/tests/PlatformGestureCurveTest.cpp 2012-09-13 23:18:24 UTC (rev 128525)
+++ trunk/Source/WebKit/chromium/tests/PlatformGestureCurveTest.cpp 2012-09-13 23:29:55 UTC (rev 128526)
@@ -101,7 +101,7 @@
MockPlatformGestureCurveTarget target;
// Explicitly parametrized to make test non-brittle in face of
// parameter changes.
- OwnPtr<ActivePlatformGestureAnimation> animation = ActivePlatformGestureAnimation::create(TouchFlingPlatformGestureCurve::create(FloatPoint(initialVelocity, 0), -5.70762e+03, 1.72e+02, 3.7e+00, 1.3), &target);
+ OwnPtr<ActivePlatformGestureAnimation> animation = ActivePlatformGestureAnimation::create(TouchFlingPlatformGestureCurve::create(FloatPoint(initialVelocity, 0), -5.70762e+03f, 1.72e+02f, 3.7e+00f, 1.3f), &target);
// Note: the expectations below are dependent on the curve parameters hard
// coded into the create call above.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes