Title: [123003] trunk/Source/WebKit/chromium
Revision
123003
Author
[email protected]
Date
2012-07-18 12:59:24 -0700 (Wed, 18 Jul 2012)

Log Message

[chromium] Fix compile on Windows.

148>tests\LayerChromiumTest.cpp(510): warning C4305: 'argument' : truncation from 'double' to 'float'

* tests/LayerChromiumTest.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (123002 => 123003)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-07-18 19:59:02 UTC (rev 123002)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-07-18 19:59:24 UTC (rev 123003)
@@ -1,3 +1,11 @@
+2012-07-18  Tony Chang  <[email protected]>
+
+        [chromium] Fix compile on Windows.
+
+        148>tests\LayerChromiumTest.cpp(510): warning C4305: 'argument' : truncation from 'double' to 'float'
+
+        * tests/LayerChromiumTest.cpp:
+
 2012-07-18  Alec Flett  <[email protected]>
 
         Implement putIndexKeys in WebIDBObjectStoreImpl

Modified: trunk/Source/WebKit/chromium/tests/LayerChromiumTest.cpp (123002 => 123003)


--- trunk/Source/WebKit/chromium/tests/LayerChromiumTest.cpp	2012-07-18 19:59:02 UTC (rev 123002)
+++ trunk/Source/WebKit/chromium/tests/LayerChromiumTest.cpp	2012-07-18 19:59:24 UTC (rev 123003)
@@ -507,8 +507,8 @@
 
     // Next, test properties that should call setNeedsCommit (but not setNeedsDisplay)
     // All properties need to be set to new values in order for setNeedsCommit to be called.
-    EXECUTE_AND_VERIFY_SET_NEEDS_COMMIT_BEHAVIOR(1, testLayer->setAnchorPoint(FloatPoint(1.23, 4.56)));
-    EXECUTE_AND_VERIFY_SET_NEEDS_COMMIT_BEHAVIOR(1, testLayer->setAnchorPointZ(0.7));
+    EXECUTE_AND_VERIFY_SET_NEEDS_COMMIT_BEHAVIOR(1, testLayer->setAnchorPoint(FloatPoint(1.23f, 4.56f)));
+    EXECUTE_AND_VERIFY_SET_NEEDS_COMMIT_BEHAVIOR(1, testLayer->setAnchorPointZ(0.7f));
     EXECUTE_AND_VERIFY_SET_NEEDS_COMMIT_BEHAVIOR(1, testLayer->setBackgroundColor(SK_ColorLTGRAY));
     EXECUTE_AND_VERIFY_SET_NEEDS_COMMIT_BEHAVIOR(1, testLayer->setMasksToBounds(true));
     EXECUTE_AND_VERIFY_SET_NEEDS_COMMIT_BEHAVIOR(1, testLayer->setMaskLayer(dummyLayer.get()));
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to