[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

commit-queue at webkit.org commit-queue at webkit.org
Wed Dec 22 11:26:29 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 8e600148a405918ec4651b46e18c7b74e3f3ba5d
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jul 23 15:30:30 2010 +0000

    2010-07-23  Patrick Gansterer  <paroga at paroga.com>
    
            Reviewed by Adam Roben.
    
            Buildfix for WinCE graphics after r56015.
            https://bugs.webkit.org/show_bug.cgi?id=41354
    
            Use fabs() insetead of abs().
    
            * platform/graphics/wince/GraphicsContextWince.cpp:
            (WebCore::GraphicsContext::fillRect):
            * platform/graphics/wince/PlatformPathWince.cpp:
            (WebCore::PlatformPath::addArcTo):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63976 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 5475ab7..7328cbd 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,17 @@
+2010-07-23  Patrick Gansterer  <paroga at paroga.com>
+
+        Reviewed by Adam Roben.
+
+        Buildfix for WinCE graphics after r56015.
+        https://bugs.webkit.org/show_bug.cgi?id=41354
+
+        Use fabs() insetead of abs().
+
+        * platform/graphics/wince/GraphicsContextWince.cpp:
+        (WebCore::GraphicsContext::fillRect):
+        * platform/graphics/wince/PlatformPathWince.cpp:
+        (WebCore::PlatformPath::addArcTo):
+
 2010-07-23  ryuan choi  <ryuan.choi at samsung.com>
 
         Reviewed by Antonio Gomes.
diff --git a/WebCore/platform/graphics/wince/GraphicsContextWince.cpp b/WebCore/platform/graphics/wince/GraphicsContextWince.cpp
index 1927159..3fc2967 100644
--- a/WebCore/platform/graphics/wince/GraphicsContextWince.cpp
+++ b/WebCore/platform/graphics/wince/GraphicsContextWince.cpp
@@ -1513,7 +1513,7 @@ void GraphicsContext::fillRect(const FloatRect& r, const Gradient* gradient)
     int width = rect.width();
     int height = rect.height();
     FloatSize d = gradient->p1() - gradient->p0();
-    bool vertical = abs(d.height()) > abs(d.width());
+    bool vertical = fabs(d.height()) > fabs(d.width());
     for (size_t i = 0; i < numStops; ++i) {
         const Gradient::ColorStop& stop = stops[i];
         int iTv = i ? 2 * i - 1 : 0;
diff --git a/WebCore/platform/graphics/wince/PlatformPathWince.cpp b/WebCore/platform/graphics/wince/PlatformPathWince.cpp
index cde5461..b42b52c 100644
--- a/WebCore/platform/graphics/wince/PlatformPathWince.cpp
+++ b/WebCore/platform/graphics/wince/PlatformPathWince.cpp
@@ -671,7 +671,7 @@ void PlatformPath::addArcTo(const FloatPoint& fp1, const FloatPoint& fp2, float
 
     double d01 = v01.length();
     double d21 = v21.length();
-    double angle = (piDouble - abs(asin(cross / (d01 * d21)))) * 0.5;
+    double angle = (piDouble - fabs(asin(cross / (d01 * d21)))) * 0.5;
     double span = radius * tan(angle);
     double rate = span / d01;
     PathPoint startPoint;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list