[Webkit-unassigned] [Bug 79591] New: Avoid calling clearOverrideSize on RenderBox'es that can't have an override size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 25 18:36:43 PST 2012


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

           Summary: Avoid calling clearOverrideSize on RenderBox'es that
                    can't have an override size
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jchaffraix at webkit.org


Currently all RenderBoxes are calling clearOverrideSize. However a RenderBox could have an override size in only 3 cases:
* if it's a child of a RenderDeprecatedFlexibleBox
* if it's a child of a RenderFlexibleBox
* if it's a RenderTableCell

That would remove 2 hash lookups from RenderBox::willBeDestroyed.

-- 
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