[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 13:32:24 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 91f7bdef734e916595a03f8b4d5bd7bb85206f75
Author: andreas.kling at nokia.com <andreas.kling at nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Sep 19 03:12:05 2010 +0000

    2010-09-18  Andreas Kling  <andreas.kling at nokia.com>
    
            Reviewed by Antonio Gomes.
    
            [Qt] Path: Remove unused member variable
            https://bugs.webkit.org/show_bug.cgi?id=46048
    
            Path::m_lastMoveToIndex is not used for anything, so remove it.
    
            * platform/graphics/Path.h:
            * platform/graphics/qt/PathQt.cpp:
            (WebCore::Path::Path):
            (WebCore::Path::operator=):
            (WebCore::Path::moveTo):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67808 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 7dcbfa6..aac82fb 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,18 @@
+2010-09-18  Andreas Kling  <andreas.kling at nokia.com>
+
+        Reviewed by Antonio Gomes.
+
+        [Qt] Path: Remove unused member variable
+        https://bugs.webkit.org/show_bug.cgi?id=46048
+
+        Path::m_lastMoveToIndex is not used for anything, so remove it.
+
+        * platform/graphics/Path.h:
+        * platform/graphics/qt/PathQt.cpp:
+        (WebCore::Path::Path):
+        (WebCore::Path::operator=):
+        (WebCore::Path::moveTo):
+
 2010-09-18  Patrick Gansterer  <paroga at paroga.com>
 
         Reviewed by Darin Adler.
diff --git a/WebCore/platform/graphics/Path.h b/WebCore/platform/graphics/Path.h
index 61ea328..43ba889 100644
--- a/WebCore/platform/graphics/Path.h
+++ b/WebCore/platform/graphics/Path.h
@@ -156,10 +156,6 @@ namespace WebCore {
 
     private:
         PlatformPathPtr m_path;
-
-#if PLATFORM(QT)
-        int m_lastMoveToIndex;
-#endif
     };
 
 }
diff --git a/WebCore/platform/graphics/qt/PathQt.cpp b/WebCore/platform/graphics/qt/PathQt.cpp
index 48b52a0..b8b9d5e 100644
--- a/WebCore/platform/graphics/qt/PathQt.cpp
+++ b/WebCore/platform/graphics/qt/PathQt.cpp
@@ -51,7 +51,6 @@
 namespace WebCore {
 
 Path::Path()
-    : m_lastMoveToIndex(0)
 {
 }
 
@@ -61,14 +60,12 @@ Path::~Path()
 
 Path::Path(const Path& other)
     : m_path(other.m_path)
-    , m_lastMoveToIndex(other.m_lastMoveToIndex)
 {
 }
 
 Path& Path::operator=(const Path& other)
 {
     m_path = other.m_path;
-    m_lastMoveToIndex = other.m_lastMoveToIndex;
     return *this;
 }
 
@@ -183,7 +180,6 @@ FloatRect Path::strokeBoundingRect(StrokeStyleApplier* applier)
 
 void Path::moveTo(const FloatPoint& point)
 {
-    m_lastMoveToIndex = m_path.elementCount();
     m_path.moveTo(point);
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list