Changeset 87093 in webkit


Ignore:
Timestamp:
May 23, 2011 1:21:35 PM (13 years ago)
Author:
weinig@apple.com
Message:

2011-05-23 Sam Weinig <sam@webkit.org>

Reviewed by Darin Adler.

Terminating a WebProcess should work even while a page is being closed
<rdar://problem/8934632>
https://bugs.webkit.org/show_bug.cgi?id=61299

  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::terminateProcess): Change validity check to only check for process validity, since terminating the process of a page that is closed or is closing is acceptable behavior.
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r87077 r87093  
     12011-05-23  Sam Weinig  <sam@webkit.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        Terminating a WebProcess should work even while a page is being closed
     6        <rdar://problem/8934632>
     7        https://bugs.webkit.org/show_bug.cgi?id=61299
     8
     9        * UIProcess/WebPageProxy.cpp:
     10        (WebKit::WebPageProxy::terminateProcess):
     11        Change validity check to only check for process validity, since terminating the process of a page that
     12        is closed or is closing is acceptable behavior.
     13
    1142011-05-23  Jessie Berlin  <jberlin@apple.com>
    215
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp

    r87046 r87093  
    10351035void WebPageProxy::terminateProcess()
    10361036{
    1037     if (!isValid())
     1037    // NOTE: This uses a check of m_isValid rather than calling isValid() since
     1038    // we want this to run even for pages being closed or that already closed.
     1039    if (!m_isValid)
    10381040        return;
    10391041
Note: See TracChangeset for help on using the changeset viewer.