Bug 67548 - RenderLayer::computeOffsetFromRoot traverses the layer's tree twice
Summary: RenderLayer::computeOffsetFromRoot traverses the layer's tree twice
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 66901
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-02 18:15 PDT by Julien Chaffraix
Modified: 2023-09-27 16:36 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Chaffraix 2011-09-02 18:15:07 PDT
This is actually a common pattern in RenderLayer to do 2 traversals (one to get the root() and the other one to compute our position relative to it).

By tweaking the way we traverse the tree, we should be able to squash those 2 traversals in one.
Comment 1 Ahmad Saleem 2023-09-27 16:36:12 PDT
This function was removed in following commit:

https://github.com/WebKit/WebKit/commit/cfe4349f145ac534cdd1701c5b97eb090630bfb6

I don't think we need to fix this bug.

@Alan / @Simon - Anything further needed or we can mark this as 'RESOLVED CONFIGURATION CHANGED'?