Skip to content
  • mjs's avatar
    Reviewed by Darin, tweaked slightly and landed by Maciej. · 965a62f1
    mjs authored
            http://bugzilla.opendarwin.org/show_bug.cgi?id=9787
            fast/frames tests failing (bad pointer to owner element) under MallocScribble
            
            * html/HTMLFrameElement.cpp:
            (WebCore::HTMLFrameElement::close):
            Disconnect the owner element of our frame.
            
            * html/HTMLIFrameElement.cpp:
            (WebCore::HTMLIFrameElement::attach):
            Don't call setFrame here.
            
            * html/HTMLPlugInElement.cpp:
            (WebCore::HTMLPlugInElement::detach):
            Disconnect the owner element of our frame.
    
            * html/HTMLPlugInElement.h:
            (WebCore::HTMLPlugInElement::setFrameName):        
            New function.
            
            * page/Frame.cpp:
            (WebCore::Frame::Frame):
            Don't call setFrame.
            
            (WebCore::Frame::~Frame):
            Null out the owner element.
            
            (WebCore::Frame::requestObject):
            When an object creates a child frame, assign it a name so it can be
            accessed from HTMLPlugInElement.
            
            * rendering/RenderPart.cpp:
            (WebCore::RenderPart::RenderPart):
            (WebCore::RenderPart::~RenderPart):
            * rendering/RenderPart.h:
            Get rid of setFrame.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    965a62f1