Skip to content
  • andersca's avatar
    2006-07-08 Anders Carlsson <> · ee9cb8ce
    andersca authored
            Reviewed by Brady.
            Reproducible crash in Loading/Frames in ToT.
            The problem was that the renderpart destructor resets the frame's 
            owner element. For iframes, this should only be done when the element is 
            going to be removed from the document.
            * html/HTMLIFrameElement.cpp:
            * html/HTMLIFrameElement.h:
            Remove the frame in willRemove instead.
            * rendering/RenderPart.cpp:
            * rendering/RenderPart.h:
            Don't call setFrame(0) in the destructor when the element is an iframe element.
    git-svn-id: 268f45cc-cd09-0410-ab3c-d52691b4dbfc