Changeset 133318 in webkit


Ignore:
Timestamp:
Nov 2, 2012, 11:27:22 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[WK2][EFL] Crash when calling WebOpenPanelResultListenerProxy::cancel() after PageClient is destroyed
https://bugs.webkit.org/show_bug.cgi?id=100977

Patch by Christophe Dumez <Christophe Dumez> on 2012-11-02
Reviewed by Alexey Proskuryakov.

Call WebPageProxy::close() in EwkViewImpl's destructor to avoid crashes
if other objects keep a reference to the WebPageProxy and try to use
it after the view (and therefore the PageClient) is destroyed.

  • UIProcess/API/efl/EwkViewImpl.cpp:

(EwkViewImpl::~EwkViewImpl):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r133317 r133318  
     12012-11-02  Christophe Dumez  <christophe.dumez@intel.com>
     2
     3        [WK2][EFL] Crash when calling WebOpenPanelResultListenerProxy::cancel() after PageClient is destroyed
     4        https://bugs.webkit.org/show_bug.cgi?id=100977
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        Call WebPageProxy::close() in EwkViewImpl's destructor to avoid crashes
     9        if other objects keep a reference to the WebPageProxy and try to use
     10        it after the view (and therefore the PageClient) is destroyed.
     11
     12        * UIProcess/API/efl/EwkViewImpl.cpp:
     13        (EwkViewImpl::~EwkViewImpl):
     14
    1152012-11-02  Martin Robinson  <mrobinson@igalia.com>
    216
  • trunk/Source/WebKit2/UIProcess/API/efl/EwkViewImpl.cpp

    r133161 r133318  
    159159EwkViewImpl::~EwkViewImpl()
    160160{
     161    m_pageProxy->close();
     162
    161163    // Unregister icon change callback.
    162164    Ewk_Favicon_Database* iconDatabase = m_context->faviconDatabase();
Note: See TracChangeset for help on using the changeset viewer.