Title: [195112] releases/WebKitGTK/webkit-2.10/Source/WebCore
- Revision
- 195112
- Author
- [email protected]
- Date
- 2016-01-15 02:38:44 -0800 (Fri, 15 Jan 2016)
Log Message
Merge r193817 - [Soup] SocketStreamHandle should call g_source_destroy() on the write-ready source
https://bugs.webkit.org/show_bug.cgi?id=152040
Reviewed by Carlos Garcia Campos.
* platform/network/soup/SocketStreamHandleSoup.cpp:
(WebCore::SocketStreamHandle::stopWaitingForSocketWritability): Instead of
calling the g_source_get_id()-g_source_remove() pair, destroy the source via
the g_source_destroy() call. Also use nullptr to clear out the pointer
variable.
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.10/Source/WebCore/ChangeLog (195111 => 195112)
--- releases/WebKitGTK/webkit-2.10/Source/WebCore/ChangeLog 2016-01-15 10:37:16 UTC (rev 195111)
+++ releases/WebKitGTK/webkit-2.10/Source/WebCore/ChangeLog 2016-01-15 10:38:44 UTC (rev 195112)
@@ -1,3 +1,16 @@
+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
+
+ Reviewed by Carlos Garcia Campos.
+
+ * platform/network/soup/SocketStreamHandleSoup.cpp:
+ (WebCore::SocketStreamHandle::stopWaitingForSocketWritability): Instead of
+ calling the g_source_get_id()-g_source_remove() pair, destroy the source via
+ the g_source_destroy() call. Also use nullptr to clear out the pointer
+ variable.
+
2015-12-08 Jer Noble <[email protected]>
Changing <video> src during 'ended' event can leave screen sleep disabled
Modified: releases/WebKitGTK/webkit-2.10/Source/WebCore/platform/network/soup/SocketStreamHandleSoup.cpp (195111 => 195112)
--- releases/WebKitGTK/webkit-2.10/Source/WebCore/platform/network/soup/SocketStreamHandleSoup.cpp 2016-01-15 10:37:16 UTC (rev 195111)
+++ releases/WebKitGTK/webkit-2.10/Source/WebCore/platform/network/soup/SocketStreamHandleSoup.cpp 2016-01-15 10:38:44 UTC (rev 195112)
@@ -253,8 +253,8 @@
if (!m_writeReadySource) // Not waiting.
return;
- g_source_remove(g_source_get_id(m_writeReadySource.get()));
- m_writeReadySource = 0;
+ g_source_destroy(m_writeReadySource.get());
+ m_writeReadySource = nullptr;
}
static void connectedCallback(GSocketClient* client, GAsyncResult* result, void* id)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes