[Webkit-unassigned] [Bug 68416] New: RenderLayer::root() should not traverse the layer tree for rooted layers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 19 17:48:31 PDT 2011


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

           Summary: RenderLayer::root() should not traverse the layer tree
                    for rooted layers
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jchaffraix at webkit.org


Currently we always traverse the RenderLayer up to the root to know which layer is our root. However using the RenderTree we have a way of getting the root RenderLayer's in a constant time.

As there is no guarantee that a layer is rooted, we cannot remove the old code but it is fairly common to call root() in a rooted layer (updateLayerPositions for example is called from the FrameView).

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