[Webkit-unassigned] [Bug 112391] New: Optimize setNeedsBoundariesUpdate()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 14 16:32:05 PDT 2013


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

           Summary: Optimize setNeedsBoundariesUpdate()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pdr at google.com
                CC: esprehn at chromium.org, zimmermann at kde.org,
                    schenney at chromium.org, fmalita at chromium.org


setNeedsBoundariesUpdate is used for updating parent element boundaries in our SVG code. It is currently called from RenderObject::willBeRemovedFromTree() but it's not clear that this is necessary at all (especially for non-SVG renderers).

void RenderObject::setNeedsBoundariesUpdate()
{
    if (RenderObject* renderer = parent())
        renderer->setNeedsBoundariesUpdate();
}

This needs to be investigated further for a potential performance win.

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