Commit f91c1949 authored by tonyg@chromium.org's avatar tonyg@chromium.org

2010-07-02 Tony Gentilcore <tonyg@chromium.org>

        Reviewed by Darin Adler.

        Performance::disconnectFrame() needs to disconnect its children
        https://bugs.webkit.org/show_bug.cgi?id=41533

        No new tests because no new functionality.

        * page/Performance.cpp:
        (WebCore::Performance::disconnectFrame):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 49845840
2010-07-02 Tony Gentilcore <tonyg@chromium.org>
Reviewed by Darin Adler.
Performance::disconnectFrame() needs to disconnect its children
https://bugs.webkit.org/show_bug.cgi?id=41533
No new tests because no new functionality.
* page/Performance.cpp:
(WebCore::Performance::disconnectFrame):
2010-07-02 Luiz Agostini <luiz.agostini@openbossa.org>
Reviewed by Sam Weinig.
......@@ -52,6 +52,14 @@ Frame* Performance::frame() const
void Performance::disconnectFrame()
{
if (m_navigation) {
m_navigation->disconnectFrame();
m_navigation = 0;
}
if (m_timing) {
m_timing->disconnectFrame();
m_timing = 0;
}
m_frame = 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment