[Webkit-unassigned] [Bug 82345] New: Frame flattening: childframe in FrameView::layout() needs protector.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 27 08:55:54 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=82345

           Summary: Frame flattening: childframe in FrameView::layout()
                    needs protector.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zbujtas at gmail.com


In case of frame flattening, when the child frame is re-starting the layout from the topmost parent, childframe needs RefPtr<FrameView> protector(this); so that it won't get destroyed by a recalcStyle() call in a parent layout().

fix: move RefPtr<FrameView> protector(this); in FrameView::layout() a few lines up, before the frame flattening re-start.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list