• mjs's avatar
    Reviewed by Dave. · 760b2e8f
    mjs authored
    	- fixed 3148141 - crash in KJS::WindowFunc::tryCall leaving certain site
            * kwq/KWQKHTMLPart.mm:
            (KWQKHTMLPart::setView): If setting the view to nil and we have a
    	document, detach the document. This means that we are removing a
    	frame from the tree, so we want to run it's onUnload handler now,
    	rather than later when things are no longer fully hooked up.
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3345 268f45cc-cd09-0410-ab3c-d52691b4dbfc