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

andreas.kling at nokia.com andreas.kling at nokia.com
Wed Dec 22 15:19:16 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 33d94e4709267fa50013bd429d737bc95e1af999
Author: andreas.kling at nokia.com <andreas.kling at nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Oct 31 19:02:27 2010 +0000

    2010-10-31  Andreas Kling  <kling at webkit.org>
    
            Reviewed by Dirk Schulze.
    
            Remove the unused GraphicsContext::strokeRect(FloatRect)
            https://bugs.webkit.org/show_bug.cgi?id=48726
    
            This function was only implemented by GraphicsContextOpenVG and not
            called from anywhere.
    
            * platform/graphics/GraphicsContext.h:
            * platform/graphics/openvg/GraphicsContextOpenVG.cpp:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70994 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 14d7216..b1d18f2 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -2,6 +2,19 @@
 
         Reviewed by Dirk Schulze.
 
+        Remove the unused GraphicsContext::strokeRect(FloatRect)
+        https://bugs.webkit.org/show_bug.cgi?id=48726
+
+        This function was only implemented by GraphicsContextOpenVG and not
+        called from anywhere.
+
+        * platform/graphics/GraphicsContext.h:
+        * platform/graphics/openvg/GraphicsContextOpenVG.cpp:
+
+2010-10-31  Andreas Kling  <kling at webkit.org>
+
+        Reviewed by Dirk Schulze.
+
         Remove the unused GraphicsContext::origin()
         https://bugs.webkit.org/show_bug.cgi?id=48732
 
diff --git a/WebCore/platform/graphics/GraphicsContext.h b/WebCore/platform/graphics/GraphicsContext.h
index d7b94f0..c39c492 100644
--- a/WebCore/platform/graphics/GraphicsContext.h
+++ b/WebCore/platform/graphics/GraphicsContext.h
@@ -225,7 +225,6 @@ namespace WebCore {
 
         void clearRect(const FloatRect&);
 
-        void strokeRect(const FloatRect&);
         void strokeRect(const FloatRect&, float lineWidth);
 
         void drawImage(Image*, ColorSpace styleColorSpace, const IntPoint&, CompositeOperator = CompositeSourceOver);
diff --git a/WebCore/platform/graphics/openvg/GraphicsContextOpenVG.cpp b/WebCore/platform/graphics/openvg/GraphicsContextOpenVG.cpp
index 5c47cb9..4eaa12e 100644
--- a/WebCore/platform/graphics/openvg/GraphicsContextOpenVG.cpp
+++ b/WebCore/platform/graphics/openvg/GraphicsContextOpenVG.cpp
@@ -340,14 +340,6 @@ void GraphicsContext::clearRect(const FloatRect& rect)
     m_data->setCompositeOperation(op);
 }
 
-void GraphicsContext::strokeRect(const FloatRect& rect)
-{
-    if (paintingDisabled())
-        return;
-
-    m_data->drawRect(rect, VG_STROKE_PATH);
-}
-
 void GraphicsContext::strokeRect(const FloatRect& rect, float lineWidth)
 {
     if (paintingDisabled())

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list