⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 236262 in webkit


Ignore:
Timestamp:
Sep 20, 2018, 9:13:42 AM (8 years ago)
Author:
Chris Dumez
Message:

Unreviewed crash fix after r236226.

We need to protect |this| in WebProcessProxy::requestTermination().

  • UIProcess/WebProcessProxy.cpp:

(WebKit::WebProcessProxy::requestTermination):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r236257 r236262  
     12018-09-20  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed crash fix after r236226.
     4
     5        We need to protect |this| in WebProcessProxy::requestTermination().
     6
     7        * UIProcess/WebProcessProxy.cpp:
     8        (WebKit::WebProcessProxy::requestTermination):
     9
    1102018-09-20  Antti Koivisto  <antti@apple.com>
    211
  • trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp

    r236226 r236262  
    998998        return;
    999999
     1000    auto protectedThis = makeRef(*this);
    10001001    RELEASE_LOG_IF(m_websiteDataStore->sessionID().isAlwaysOnLoggingAllowed(), Process, "%p - WebProcessProxy::requestTermination - reason %d", this, reason);
    10011002
Note: See TracChangeset for help on using the changeset viewer.