Changeset 32206 in webkit


Ignore:
Timestamp:
Apr 18, 2008 7:07:51 AM (16 years ago)
Author:
Adam Roben
Message:

Windows build fix

Same as before, but for fabs/fabsf.

  • svg/SVGAnimateTransformElement.cpp: (WebCore::SVGAnimateTransformElement::calculateDistance): Changed to use fabsf and removed narrowPrecisionToFloat.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r32205 r32206  
     12008-04-18  Adam Roben  <aroben@apple.com>
     2
     3        Windows build fix
     4
     5        Same as before, but for fabs/fabsf.
     6
     7        * svg/SVGAnimateTransformElement.cpp:
     8        (WebCore::SVGAnimateTransformElement::calculateDistance): Changed to
     9        use fabsf and removed narrowPrecisionToFloat.
     10
    1112008-04-18  Adam Roben  <aroben@apple.com>
    212
  • trunk/WebCore/svg/SVGAnimateTransformElement.cpp

    r32205 r32206  
    2828
    2929#include "AffineTransform.h"
    30 #include "FloatConversion.h"
    3130#include "RenderObject.h"
    3231#include "SVGAngle.h"
     
    196195    }
    197196    if (to.type() == SVGTransform::SVG_TRANSFORM_ROTATE)
    198         return narrowPrecisionToFloat(fabs(to.angle() - from.angle()));
     197        return fabsf(to.angle() - from.angle());
    199198    if (to.type() == SVGTransform::SVG_TRANSFORM_SCALE) {
    200199        FloatSize diff = to.scale() - from.scale();
Note: See TracChangeset for help on using the changeset viewer.