Changeset 126114 in webkit


Ignore:
Timestamp:
Aug 20, 2012 6:28:23 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[Chromium] Fix warnings on Windows builds
https://bugs.webkit.org/show_bug.cgi?id=94543

Patch by Scott Graham <scottmg@chromium.org> on 2012-08-20
Reviewed by Adrienne Walker.

  • tests/CCMathUtilTest.cpp:
Location:
trunk/Source/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r126113 r126114  
     12012-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
    1102012-08-20  Adam Klein  <adamk@chromium.org>
    211
  • trunk/Source/WebKit/chromium/tests/CCMathUtilTest.cpp

    r126075 r126114  
    181181    FloatSize x(1, 0);
    182182    FloatSize y(0, 1);
    183     FloatSize testVector(0.3, 0.7);
     183    FloatSize testVector(0.3f, 0.7f);
    184184
    185185    // Orthogonal vectors project to a zero vector.
     
    194194    // Finally check than an arbitrary vector projected to another one gives a vector parallel to
    195195    // the second vector.
    196     FloatSize targetVector(0.5, 0.2);
     196    FloatSize targetVector(0.5, 0.2f);
    197197    FloatSize projectedVector = CCMathUtil::projectVector(testVector, targetVector);
    198198    EXPECT_EQ(projectedVector.width() / targetVector.width(),
Note: See TracChangeset for help on using the changeset viewer.