Changeset 37922 in webkit


Ignore:
Timestamp:
Oct 27, 2008 10:24:13 PM (16 years ago)
Author:
weinig@apple.com
Message:

2008-10-27 Sam Weinig <sam@webkit.org>

Reviewed by Maciej Stachowiak.

Clear the window shell when destroying a page to allow documents
which have no way of being reached anymore, to be torn down.

  • page/Frame.cpp: (WebCore::Frame::pageDestroyed):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r37906 r37922  
     12008-10-27  Sam Weinig  <sam@webkit.org>
     2
     3        Reviewed by Maciej Stachowiak.
     4
     5        Clear the window shell when destroying a page to allow documents
     6        which have no way of being reached anymore, to be torn down.
     7
     8        * page/Frame.cpp:
     9        (WebCore::Frame::pageDestroyed):
     10
    1112008-10-27  Kevin Watters  <kevinwatters@gmail.com>
    212
  • trunk/WebCore/page/Frame.cpp

    r37749 r37922  
    16191619        page()->focusController()->setFocusedFrame(0);
    16201620
     1621    script()->clearWindowShell();
     1622
    16211623    // This will stop any JS timers
    16221624    if (script()->haveWindowShell())
Note: See TracChangeset for help on using the changeset viewer.