Commit 476a665e authored by jmalonzo@webkit.org's avatar jmalonzo@webkit.org

2008-10-17 Luke Kenneth Casson Leighton <lkcl@lkcl.net>

        Reviewed by Mark Rowe. Landed by Jan Alonzo.

        https://bugs.webkit.org/show_bug.cgi?id=20403
        [Gtk] Segfault after a table with an iframe is attempted to be added twice to DOM model with javascript

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::frameLoaderDestroyed):
        (WebKit::FrameLoaderClient::detachedFromParent4):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3abe135f
2008-10-17 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
Reviewed by Mark Rowe. Landed by Jan Alonzo.
https://bugs.webkit.org/show_bug.cgi?id=20403
[Gtk] Segfault after a table with an iframe is attempted to be added twice to DOM model with javascript
* WebCoreSupport/FrameLoaderClientGtk.cpp:
(WebKit::FrameLoaderClient::frameLoaderDestroyed):
(WebKit::FrameLoaderClient::detachedFromParent4):
2008-10-06 David Hyatt <hyatt@apple.com>
Enable viewless Mac WebKit to paint some basic pages.
......
......@@ -231,6 +231,7 @@ void FrameLoaderClient::postProgressFinishedNotification()
void FrameLoaderClient::frameLoaderDestroyed()
{
g_object_unref(m_frame);
m_frame = 0;
delete this;
}
......@@ -465,9 +466,6 @@ void FrameLoaderClient::detachedFromParent3()
void FrameLoaderClient::detachedFromParent4()
{
ASSERT(m_frame);
g_object_unref(m_frame);
m_frame = 0;
}
void FrameLoaderClient::loadedFromCachedPage()
......
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