Title: [220786] trunk/Source/WebKit
- Revision
- 220786
- Author
- carlo...@webkit.org
- Date
- 2017-08-15 23:09:38 -0700 (Tue, 15 Aug 2017)
Log Message
[GTK][WPE] WebKitAutomationSession should set session client to nullptr on dispose
https://bugs.webkit.org/show_bug.cgi?id=175564
Reviewed by Carlos Alberto Lopez Perez.
WebAutomationSession expects its client to be nullptr in the destructor.
* UIProcess/API/glib/WebKitAutomationSession.cpp:
(webkitAutomationSessionDispose):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (220785 => 220786)
--- trunk/Source/WebKit/ChangeLog 2017-08-16 03:52:22 UTC (rev 220785)
+++ trunk/Source/WebKit/ChangeLog 2017-08-16 06:09:38 UTC (rev 220786)
@@ -1,3 +1,15 @@
+2017-08-15 Carlos Garcia Campos <cgar...@igalia.com>
+
+ [GTK][WPE] WebKitAutomationSession should set session client to nullptr on dispose
+ https://bugs.webkit.org/show_bug.cgi?id=175564
+
+ Reviewed by Carlos Alberto Lopez Perez.
+
+ WebAutomationSession expects its client to be nullptr in the destructor.
+
+ * UIProcess/API/glib/WebKitAutomationSession.cpp:
+ (webkitAutomationSessionDispose):
+
2017-08-15 Tim Horton <timothy_hor...@apple.com>
WKSnapshotConfiguration is missing from the WebKit umbrella header
Modified: trunk/Source/WebKit/UIProcess/API/glib/WebKitAutomationSession.cpp (220785 => 220786)
--- trunk/Source/WebKit/UIProcess/API/glib/WebKitAutomationSession.cpp 2017-08-16 03:52:22 UTC (rev 220785)
+++ trunk/Source/WebKit/UIProcess/API/glib/WebKitAutomationSession.cpp 2017-08-16 06:09:38 UTC (rev 220786)
@@ -199,6 +199,8 @@
{
WebKitAutomationSession* session = WEBKIT_AUTOMATION_SESSION(object);
+ session->priv->session->setClient(nullptr);
+
if (session->priv->applicationInfo) {
webkit_application_info_unref(session->priv->applicationInfo);
session->priv->applicationInfo = nullptr;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes