[SCM] WebKit Debian packaging branch, debian/experimental, updated. debian/1.3.8-1-1049-g2e11a8e

mrobinson at webkit.org mrobinson at webkit.org
Fri Jan 21 14:44:01 UTC 2011


The following commit has been merged in the debian/experimental branch:
commit d8e2586d53a3f6ca69cac67d9d513eebb2f9f822
Author: mrobinson at webkit.org <mrobinson at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Dec 28 01:40:09 2010 +0000

    2010-12-27  Martin Robinson  <mrobinson at igalia.com>
    
            Reviewed by Daniel Bates.
    
            Try to fix my previous commit for Mac by stepping up the precision of pi even more
            using Math.PI.
    
            * fast/canvas/canvas-save-restore-with-path.js: Use Math.PI instead of a
            hard-coded estimation.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74705 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 8c64680..4004d77 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,13 @@
+2010-12-27  Martin Robinson  <mrobinson at igalia.com>
+
+        Reviewed by Daniel Bates.
+
+        Try to fix my previous commit for Mac by stepping up the precision of pi even more
+        using Math.PI.
+
+        * fast/canvas/canvas-save-restore-with-path.js: Use Math.PI instead of a
+        hard-coded estimation.
+
 2010-12-27  Kenneth Russell  <kbr at google.com>
 
         Unreviewed, Chromium test expectations update. Generalize
diff --git a/LayoutTests/fast/canvas/canvas-save-restore-with-path.js b/LayoutTests/fast/canvas/canvas-save-restore-with-path.js
index a238dfc..2fb321b 100644
--- a/LayoutTests/fast/canvas/canvas-save-restore-with-path.js
+++ b/LayoutTests/fast/canvas/canvas-save-restore-with-path.js
@@ -49,7 +49,7 @@ pixelShouldBe(75, 50, [255, 0, 0, 255]);
 // Test rotate
 context.beginPath();
 context.save();
-context.rotate(90/180 * 3.14159);
+context.rotate(90/180 * Math.PI);
 context.rect(50, -50, 50, 50);
 context.restore();
 context.fill();

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list