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

Changeset 233783 in webkit


Ignore:
Timestamp:
Jul 12, 2018, 3:21:39 PM (8 years ago)
Author:
Chris Dumez
Message:

Assert that the IPC::Connection is valid in Connection::dispatchMessage(Decoder&)
​https://bugs.webkit.org/show_bug.cgi?id=187617

Reviewed by Youenn Fablet.

Assert that the IPC::Connection is valid in Connection::dispatchMessage(Decoder&) as
m_client would be stale otherwise.

  • Platform/IPC/Connection.cpp:

(IPC::Connection::dispatchMessage):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r233782 r233783  
     12018-07-12  Chris Dumez  <cdumez@apple.com>
     2
     3        Assert that the IPC::Connection is valid in Connection::dispatchMessage(Decoder&)
     4        https://bugs.webkit.org/show_bug.cgi?id=187617
     5
     6        Reviewed by Youenn Fablet.
     7
     8        Assert that the IPC::Connection is valid in Connection::dispatchMessage(Decoder&) as
     9        m_client would be stale otherwise.
     10
     11        * Platform/IPC/Connection.cpp:
     12        (IPC::Connection::dispatchMessage):
     13
    1142018-07-12  Youenn Fablet  <youenn@apple.com>
    215
  • trunk/Source/WebKit/Platform/IPC/Connection.cpp

    r233111 r233783  
    937937void Connection::dispatchMessage(Decoder& decoder)
    938938{
     939    ASSERT(isValid());
    939940    m_client.didReceiveMessage(*this, decoder);
    940941}
Note: See TracChangeset for help on using the changeset viewer.