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

krit at webkit.org krit at webkit.org
Wed Dec 22 13:36:17 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 20a5de686e11717a2396df97858074f4fd0efdbc
Author: krit at webkit.org <krit at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Sep 21 09:21:38 2010 +0000

    2010-09-21  Dirk Schulze  <krit at webkit.org>
    
            SVG Filter cleanup
            https://bugs.webkit.org/show_bug.cgi?id=45612
    
            Unreviewed change of episolon back to a more tolerant value in RenderTreeAsText and made it a static const.
            This should turn the bots green again.
    
            * rendering/RenderTreeAsText.cpp:
            (WebCore::hasFractions):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67933 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 618fdfc..82af341 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,14 @@
+2010-09-21  Dirk Schulze  <krit at webkit.org>
+
+        SVG Filter cleanup
+        https://bugs.webkit.org/show_bug.cgi?id=45612
+
+        Unreviewed change of episolon back to a more tolerant value in RenderTreeAsText and made it a static const.
+        This should turn the bots green again.
+
+        * rendering/RenderTreeAsText.cpp:
+        (WebCore::hasFractions):
+
 2010-09-21  David Hyatt  <hyatt at apple.com>
 
         Reviewed by Dan Bernstein.
diff --git a/WebCore/rendering/RenderTreeAsText.cpp b/WebCore/rendering/RenderTreeAsText.cpp
index 16dc7bf..8b3732b 100644
--- a/WebCore/rendering/RenderTreeAsText.cpp
+++ b/WebCore/rendering/RenderTreeAsText.cpp
@@ -76,9 +76,10 @@ static void writeLayers(TextStream&, const RenderLayer* rootLayer, RenderLayer*,
 
 bool hasFractions(double val)
 {
+    static const double s_epsilon = 0.0001;
     int ival = static_cast<int>(val);
     double dval = static_cast<double>(ival);
-    return fabs(val - dval) > std::numeric_limits<double>::epsilon();
+    return fabs(val - dval) > s_epsilon;
 }
 
 TextStream& operator<<(TextStream& ts, const IntRect& r)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list