Changeset 126114 in webkit
- Timestamp:
- Aug 20, 2012 6:28:23 PM (12 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r126113 r126114 1 2012-08-20 Scott Graham <scottmg@chromium.org> 2 3 [Chromium] Fix warnings on Windows builds 4 https://bugs.webkit.org/show_bug.cgi?id=94543 5 6 Reviewed by Adrienne Walker. 7 8 * tests/CCMathUtilTest.cpp: 9 1 10 2012-08-20 Adam Klein <adamk@chromium.org> 2 11 -
trunk/Source/WebKit/chromium/tests/CCMathUtilTest.cpp
r126075 r126114 181 181 FloatSize x(1, 0); 182 182 FloatSize y(0, 1); 183 FloatSize testVector(0.3 , 0.7);183 FloatSize testVector(0.3f, 0.7f); 184 184 185 185 // Orthogonal vectors project to a zero vector. … … 194 194 // Finally check than an arbitrary vector projected to another one gives a vector parallel to 195 195 // the second vector. 196 FloatSize targetVector(0.5, 0.2 );196 FloatSize targetVector(0.5, 0.2f); 197 197 FloatSize projectedVector = CCMathUtil::projectVector(testVector, targetVector); 198 198 EXPECT_EQ(projectedVector.width() / targetVector.width(),
Note: See TracChangeset
for help on using the changeset viewer.