Skip to content
  • aroben@apple.com's avatar
    Windows build fix · 3b900a47
    aroben@apple.com authored
            In MSVC, sqrt() has three overloads: float, double, and long
            double. In GCC, sqrt() is only for doubles. Both MSVC and GCC have
            sqrtf() to operate explicitly on floats.
    
            * svg/SVGAnimateMotionElement.cpp:
            (WebCore::SVGAnimateMotionElement::calculateDistance): Changed to use
            sqrtf and removed narrowPrecisionToFloat.
            * svg/SVGAnimateTransformElement.cpp:
            (WebCore::SVGAnimateTransformElement::calculateDistance): Ditto.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3b900a47