Changeset 142350 in webkit


Ignore:
Timestamp:
Feb 8, 2013 10:13:40 PM (11 years ago)
Author:
weinig@apple.com
Message:

Fix ASSERT when the Web Content Process crashes
https://bugs.webkit.org/show_bug.cgi?id=109346

Reviewed by Simon Fraser.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::processDidCrash):
We need to remove ourselves as a message receiver before calling out to the client, as
the client might want to re-add us (as Safari does).

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r142348 r142350  
     12013-02-08  Sam Weinig  <sam@webkit.org>
     2
     3        Fix ASSERT when the Web Content Process crashes
     4        https://bugs.webkit.org/show_bug.cgi?id=109346
     5
     6        Reviewed by Simon Fraser.
     7
     8        * UIProcess/WebPageProxy.cpp:
     9        (WebKit::WebPageProxy::processDidCrash):
     10        We need to remove ourselves as a message receiver before calling out to the client, as
     11        the client might want to re-add us (as Safari does).
     12
    1132013-02-08  Benjamin Poulain  <bpoulain@apple.com>
    214
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp

    r142201 r142350  
    35643564    ASSERT(m_pageClient);
    35653565
     3566    m_process->removeMessageReceiver(Messages::WebPageProxy::messageReceiverName(), m_pageID);
     3567
    35663568    m_isValid = false;
    35673569    m_isPageSuspended = false;
     
    36793681    m_pageClient->dismissDictionaryLookupPanel();
    36803682#endif
    3681 
    3682     m_process->removeMessageReceiver(Messages::WebPageProxy::messageReceiverName(), m_pageID);
    36833683}
    36843684
Note: See TracChangeset for help on using the changeset viewer.