[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

bfulgham at webkit.org bfulgham at webkit.org
Sun Feb 20 22:50:13 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit f797bf5fc44da676dd7b6a1bafabdf3faf7598bb
Author: bfulgham at webkit.org <bfulgham at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jan 12 00:53:21 2011 +0000

    Unreviewed build fix.
    
    * platform/graphics/cairo/PathCairo.cpp:
    (WebCore::Path::addArc): Switch to MathExtra's piFloat define,
    rather than M_PI which is not always available.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75573 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index 1f41dcb..82b0971 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,11 @@
+2011-01-11  Brent Fulgham  <bfulgham at webkit.org>
+
+        Unreviewed build fix.
+
+        * platform/graphics/cairo/PathCairo.cpp:
+        (WebCore::Path::addArc): Switch to MathExtra's piFloat define,
+        rather than M_PI which is not always available.
+
 2011-01-11  Nicolas Dufresne  <nicolas.dufresne at collabora.co.uk>
 
         Reviewed by Adam Barth.
diff --git a/Source/WebCore/platform/graphics/cairo/PathCairo.cpp b/Source/WebCore/platform/graphics/cairo/PathCairo.cpp
index 981fdcd..0113427 100644
--- a/Source/WebCore/platform/graphics/cairo/PathCairo.cpp
+++ b/Source/WebCore/platform/graphics/cairo/PathCairo.cpp
@@ -153,7 +153,7 @@ void Path::addArc(const FloatPoint& p, float r, float startAngle, float endAngle
 
     cairo_t* cr = platformPath()->context();
     float sweep = endAngle - startAngle;
-    const float twoPI = 2 * M_PI;
+    const float twoPI = 2 * piFloat;
     if ((sweep <= -twoPI || sweep >= twoPI)
         && ((anticlockwise && (endAngle < startAngle)) || (!anticlockwise && (startAngle < endAngle)))) {
         if (anticlockwise)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list