Changeset 220786 in webkit


Ignore:
Timestamp:
Aug 15, 2017 11:09:38 PM (7 years ago)
Author:
Carlos Garcia Campos
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):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r220784 r220786  
     12017-08-15  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK][WPE] WebKitAutomationSession should set session client to nullptr on dispose
     4        https://bugs.webkit.org/show_bug.cgi?id=175564
     5
     6        Reviewed by Carlos Alberto Lopez Perez.
     7
     8        WebAutomationSession expects its client to be nullptr in the destructor.
     9
     10        * UIProcess/API/glib/WebKitAutomationSession.cpp:
     11        (webkitAutomationSessionDispose):
     12
    1132017-08-15  Tim Horton  <timothy_horton@apple.com>
    214
  • trunk/Source/WebKit/UIProcess/API/glib/WebKitAutomationSession.cpp

    r220394 r220786  
    200200    WebKitAutomationSession* session = WEBKIT_AUTOMATION_SESSION(object);
    201201
     202    session->priv->session->setClient(nullptr);
     203
    202204    if (session->priv->applicationInfo) {
    203205        webkit_application_info_unref(session->priv->applicationInfo);
Note: See TracChangeset for help on using the changeset viewer.