Title: [195113] releases/WebKitGTK/webkit-2.10/Source/WebCore
Revision
195113
Author
[email protected]
Date
2016-01-15 02:39:34 -0800 (Fri, 15 Jan 2016)

Log Message

Merge r193818 - [Soup] Attach the SocketStreamHandleSoup write-ready source to the thread-default context
https://bugs.webkit.org/show_bug.cgi?id=152041

Reviewed by Carlos Garcia Campos.

* platform/network/soup/SocketStreamHandleSoup.cpp:
(WebCore::SocketStreamHandle::beginWaitingForSocketWritability): Attach the
write-ready source to the thread-default context, instead of implicitly
relying on the default context for dispatching.

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.10/Source/WebCore/ChangeLog (195112 => 195113)


--- releases/WebKitGTK/webkit-2.10/Source/WebCore/ChangeLog	2016-01-15 10:38:44 UTC (rev 195112)
+++ releases/WebKitGTK/webkit-2.10/Source/WebCore/ChangeLog	2016-01-15 10:39:34 UTC (rev 195113)
@@ -1,5 +1,17 @@
 2015-12-09  Zan Dobersek  <[email protected]>
 
+        [Soup] Attach the SocketStreamHandleSoup write-ready source to the thread-default context
+        https://bugs.webkit.org/show_bug.cgi?id=152041
+
+        Reviewed by Carlos Garcia Campos.
+
+        * platform/network/soup/SocketStreamHandleSoup.cpp:
+        (WebCore::SocketStreamHandle::beginWaitingForSocketWritability): Attach the
+        write-ready source to the thread-default context, instead of implicitly
+        relying on the default context for dispatching.
+
+2015-12-09  Zan Dobersek  <[email protected]>
+
         [Soup] SocketStreamHandle should call g_source_destroy() on the write-ready source
         https://bugs.webkit.org/show_bug.cgi?id=152040
 

Modified: releases/WebKitGTK/webkit-2.10/Source/WebCore/platform/network/soup/SocketStreamHandleSoup.cpp (195112 => 195113)


--- releases/WebKitGTK/webkit-2.10/Source/WebCore/platform/network/soup/SocketStreamHandleSoup.cpp	2016-01-15 10:38:44 UTC (rev 195112)
+++ releases/WebKitGTK/webkit-2.10/Source/WebCore/platform/network/soup/SocketStreamHandleSoup.cpp	2016-01-15 10:39:34 UTC (rev 195113)
@@ -245,7 +245,7 @@
 
     m_writeReadySource = adoptGRef(g_pollable_output_stream_create_source(m_outputStream.get(), 0));
     g_source_set_callback(m_writeReadySource.get(), reinterpret_cast<GSourceFunc>(writeReadyCallback), m_id, 0);
-    g_source_attach(m_writeReadySource.get(), 0);
+    g_source_attach(m_writeReadySource.get(), g_main_context_get_thread_default());
 }
 
 void SocketStreamHandle::stopWaitingForSocketWritability()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to