Title: [107937] trunk/Source/WebCore
Revision
107937
Author
par...@webkit.org
Date
2012-02-16 08:15:04 -0800 (Thu, 16 Feb 2012)

Log Message

WinCE build fix after r107453.

* platform/FractionalLayoutUnit.h:
(WebCore::FractionalLayoutUnit::isInBounds): Use fabs() instead of abs().

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (107936 => 107937)


--- trunk/Source/WebCore/ChangeLog	2012-02-16 15:48:41 UTC (rev 107936)
+++ trunk/Source/WebCore/ChangeLog	2012-02-16 16:15:04 UTC (rev 107937)
@@ -1,3 +1,10 @@
+2012-02-16  Patrick Gansterer  <par...@webkit.org>
+
+        WinCE build fix after r107453.
+
+        * platform/FractionalLayoutUnit.h:
+        (WebCore::FractionalLayoutUnit::isInBounds): Use fabs() instead of abs().
+
 2012-02-15  Pavel Feldman  <pfeld...@google.com>
 
         Web Inspector: explicitly mark undoable state from the front-end.

Modified: trunk/Source/WebCore/platform/FractionalLayoutUnit.h (107936 => 107937)


--- trunk/Source/WebCore/platform/FractionalLayoutUnit.h	2012-02-16 15:48:41 UTC (rev 107936)
+++ trunk/Source/WebCore/platform/FractionalLayoutUnit.h	2012-02-16 16:15:04 UTC (rev 107937)
@@ -119,7 +119,7 @@
     }
     inline bool isInBounds(double value)
     {
-        return ::abs(value) < std::numeric_limits<int>::max() / kFixedPointDenominator;
+        return ::fabs(value) < std::numeric_limits<int>::max() / kFixedPointDenominator;
     }
 
     int m_value;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to