Title: [128522] trunk/Source/WebKit/chromium
Revision
128522
Author
[email protected]
Date
2012-09-13 16:07:20 -0700 (Thu, 13 Sep 2012)

Log Message

Fix compile warning/error on windows - literal that isn't exactly representable as a float needs "f" suffix.

* tests/PlatformGestureCurveTest.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (128521 => 128522)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-09-13 23:04:21 UTC (rev 128521)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-09-13 23:07:20 UTC (rev 128522)
@@ -1,3 +1,9 @@
+2012-09-13  James Robinson  <[email protected]>
+
+        Fix compile warning/error on windows - literal that isn't exactly representable as a float needs "f" suffix.
+
+        * tests/PlatformGestureCurveTest.cpp:
+
 2012-09-13  Julien Chaffraix  <[email protected]>
 
         [Chromium] REGRESSION(r127457): Context menu on textarea is displayed in the wrong place

Modified: trunk/Source/WebKit/chromium/tests/PlatformGestureCurveTest.cpp (128521 => 128522)


--- trunk/Source/WebKit/chromium/tests/PlatformGestureCurveTest.cpp	2012-09-13 23:04:21 UTC (rev 128521)
+++ trunk/Source/WebKit/chromium/tests/PlatformGestureCurveTest.cpp	2012-09-13 23:07:20 UTC (rev 128522)
@@ -107,7 +107,7 @@
     // coded into the create call above.
     EXPECT_TRUE(animation->animate(0));
     EXPECT_TRUE(animation->animate(0.25));
-    EXPECT_TRUE(animation->animate(0.45)); // Use non-uniform tick spacing.
+    EXPECT_TRUE(animation->animate(0.45f)); // Use non-uniform tick spacing.
     EXPECT_TRUE(animation->animate(1));
     EXPECT_FALSE(animation->animate(1.5));
     EXPECT_NEAR(target.cumulativeDelta().x(), 1193, 1);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to