2011-04-12 Sergio Villar Senin <svillar@igalia.com>
authorsergio@webkit.org <sergio@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Apr 2011 14:43:20 +0000 (14:43 +0000)
committersergio@webkit.org <sergio@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Apr 2011 14:43:20 +0000 (14:43 +0000)
        Reviewed by Martin Robinson.

        [GTK] Remove m_idleHandler from ResourceHandleSoup
        https://bugs.webkit.org/show_bug.cgi?id=58319

        The m_idleHandler attribute is no longer used in ResourceHandleSoup.
        No new tests needed, no functionality change.

        * platform/network/ResourceHandleInternal.h:
        (WebCore::ResourceHandleInternal::ResourceHandleInternal):
        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::ResourceHandleInternal::~ResourceHandleInternal):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@83587 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/network/ResourceHandleInternal.h
Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp

index 3aa30f1..06ea3ef 100644 (file)
@@ -1,3 +1,18 @@
+2011-04-12  Sergio Villar Senin  <svillar@igalia.com>
+
+        Reviewed by Martin Robinson.
+
+        [GTK] Remove m_idleHandler from ResourceHandleSoup
+        https://bugs.webkit.org/show_bug.cgi?id=58319
+
+        The m_idleHandler attribute is no longer used in ResourceHandleSoup.
+        No new tests needed, no functionality change.
+
+        * platform/network/ResourceHandleInternal.h:
+        (WebCore::ResourceHandleInternal::ResourceHandleInternal):
+        * platform/network/soup/ResourceHandleSoup.cpp:
+        (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
+
 2011-04-12  Andrey Adaikin  <aandrey@google.com>
 
         Reviewed by Yury Semikhatsky.
index b622801..bd24d22 100644 (file)
@@ -116,7 +116,6 @@ namespace WebCore {
             , m_buffer(0)
             , m_bodySize(0)
             , m_bodyDataSent(0)
-            , m_idleHandler(0)
             , m_gotChunkHandler(0)
 #endif
 #if PLATFORM(QT)
@@ -195,7 +194,6 @@ namespace WebCore {
         char* m_buffer;
         unsigned long m_bodySize;
         unsigned long m_bodyDataSent;
-        guint m_idleHandler;
         RefPtr<NetworkingContext> m_context;
         gulong m_gotChunkHandler;
 #endif
index e5da0e3..f184cab 100644 (file)
@@ -135,11 +135,6 @@ ResourceHandleInternal::~ResourceHandleInternal()
 {
     if (m_soupRequest)
         g_object_set_data(G_OBJECT(m_soupRequest.get()), "webkit-resource", 0);
-
-    if (m_idleHandler) {
-        g_source_remove(m_idleHandler);
-        m_idleHandler = 0;
-    }
 }
 
 ResourceHandle::~ResourceHandle()