Fix Leopard build.
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Jan 2011 19:51:53 +0000 (19:51 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Jan 2011 19:51:53 +0000 (19:51 +0000)
* rendering/mathml/RenderMathMLFraction.cpp:
(WebCore::RenderMathMLFraction::layout): Use ceilf instead of ceil.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@76375 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/rendering/mathml/RenderMathMLFraction.cpp

index b393001..65d7a5e 100644 (file)
@@ -1,3 +1,10 @@
+2011-01-21  Darin Adler  <darin@apple.com>
+
+        Fix Leopard build.
+
+        * rendering/mathml/RenderMathMLFraction.cpp:
+        (WebCore::RenderMathMLFraction::layout): Use ceilf instead of ceil.
+
 2011-01-21  Anton Muhin  <antonm@chromium.org>
 
         Reviewed by Nate Chapin.
index 545f8eb..9d80fbe 100644 (file)
@@ -125,7 +125,7 @@ void RenderMathMLFraction::layout()
 
     // Adjust the fraction line thickness for the zoom
     if (lastChild() && lastChild()->isRenderBlock())
-        m_lineThickness *= ceil(gFractionBarWidth * style()->fontSize());
+        m_lineThickness *= ceilf(gFractionBarWidth * style()->fontSize());
 
     RenderBlock::layout();