[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 12:28:31 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit d5a0f54a2c5943ad8265864901c5b9762a3660bf
Author: krit at webkit.org <krit at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Aug 24 13:40:49 2010 +0000

    2010-08-24  Dirk Schulze  <krit at webkit.org>
    
            Reviewed by Nikolas Zimmermann.
    
            Cg logs "<Error>: CGPathCloseSubpath: no current point. " in lots of tests
            https://bugs.webkit.org/show_bug.cgi?id=43026
    
            Check if the path is empty before closing it.
    
            * svg/SVGPathBuilder.cpp:
            (WebCore::SVGPathBuilder::moveTo):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65894 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index ea9f92f..aabc936 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2010-08-24  Dirk Schulze  <krit at webkit.org>
+
+        Reviewed by Nikolas Zimmermann.
+
+        Cg logs "<Error>: CGPathCloseSubpath: no current point. " in lots of tests
+        https://bugs.webkit.org/show_bug.cgi?id=43026
+
+        Check if the path is empty before closing it.
+
+        * svg/SVGPathBuilder.cpp:
+        (WebCore::SVGPathBuilder::moveTo):
+
 2010-08-24  Marcus Bulach  <bulach at chromium.org>
 
         Reviewed by Jeremy Orlow.
diff --git a/WebCore/svg/SVGPathBuilder.cpp b/WebCore/svg/SVGPathBuilder.cpp
index 85fbd65..6687edf 100644
--- a/WebCore/svg/SVGPathBuilder.cpp
+++ b/WebCore/svg/SVGPathBuilder.cpp
@@ -37,7 +37,7 @@ void SVGPathBuilder::moveTo(const FloatPoint& targetPoint, bool closed, PathCoor
 {
     ASSERT(m_path);
     m_current = mode == AbsoluteCoordinates ? targetPoint : m_current + targetPoint;
-    if (closed)
+    if (closed && !m_path->isEmpty())
         m_path->closeSubpath();
     m_path->moveTo(m_current);
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list