[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 16:16:06 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 388b0c6fedca1deee298085a2dad2ad458387c05
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sat Nov 20 10:25:25 2010 +0000

    2010-11-20  Helder Correia  <helder at sencha.com>
    
            Reviewed by Andreas Kling.
    
            [Qt] GraphicsContext::strokeArc() is not necessary any more
            https://bugs.webkit.org/show_bug.cgi?id=49859
    
            Remove strokeArc() from the Qt port.
    
            No test is needed.
    
            * platform/graphics/qt/GraphicsContextQt.cpp:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72473 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index e204bb8..c11e329 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -2,6 +2,19 @@
 
         Reviewed by Andreas Kling.
 
+        [Qt] GraphicsContext::strokeArc() is not necessary any more
+        https://bugs.webkit.org/show_bug.cgi?id=49859
+
+        Remove strokeArc() from the Qt port.
+
+        No test is needed.
+
+        * platform/graphics/qt/GraphicsContextQt.cpp:
+
+2010-11-20  Helder Correia  <helder at sencha.com>
+
+        Reviewed by Andreas Kling.
+
         [Qt] Path fill lacks blur shadow support
         https://bugs.webkit.org/show_bug.cgi?id=49491
 
diff --git a/WebCore/platform/graphics/qt/GraphicsContextQt.cpp b/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
index d1ae51b..fc57b14 100644
--- a/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
+++ b/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
@@ -444,32 +444,6 @@ void GraphicsContext::drawEllipse(const IntRect& rect)
     m_data->p()->drawEllipse(rect);
 }
 
-void GraphicsContext::strokeArc(const IntRect& rect, int startAngle, int angleSpan)
-{
-    if (paintingDisabled() || strokeStyle() == NoStroke || strokeThickness() <= 0.0f)
-        return;
-
-    QPainter* p = m_data->p();
-    const bool antiAlias = p->testRenderHint(QPainter::Antialiasing);
-    p->setRenderHint(QPainter::Antialiasing, true);
-
-    startAngle *= 16;
-    angleSpan *= 16;
-
-    if (m_data->hasShadow()) {
-        p->save();
-        p->translate(m_data->shadow.offset());
-        QPen pen(p->pen());
-        pen.setColor(m_data->shadow.m_color);
-        p->setPen(pen);
-        p->drawArc(rect, startAngle, angleSpan);
-        p->restore();
-    }
-    p->drawArc(rect, startAngle, angleSpan);
-
-    p->setRenderHint(QPainter::Antialiasing, antiAlias);
-}
-
 void GraphicsContext::drawConvexPolygon(size_t npoints, const FloatPoint* points, bool shouldAntialias)
 {
     if (paintingDisabled())

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list